المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Solving (string) and creating the screen - Ex.: CreateScreen("screenTest")



C# Programming
02-10-2010, 12:23 AM
Friends,

I hope you can help me. I am developing a new project and this project I have several screens. Well, I would like to create a screen through her name and that name is the same class name of the screen.

Example:

I create a new screen, and put her name as formCadastro. Now, in my base form, I would go to a function the string value "formCadastro" function and open the screen with the same name.

Is it possible? I tried to work a little with the System.Windows.Forms.Form class but I could not ... Thank you for your help.

Success for All