M
Merk
I'm wanting to know if/how it would be possible to load a form based on a
string that contains the name of the form (class).
For example, instead of doing this:
myForm f = new myForm();
f.Show();
I would like to load the form when its class name is in a string variable
like this:
string formClassName = "myForm"
?? what goes here to instantiate/load the form based on the value of
formClassName?
Thanks!
string that contains the name of the form (class).
For example, instead of doing this:
myForm f = new myForm();
f.Show();
I would like to load the form when its class name is in a string variable
like this:
string formClassName = "myForm"
?? what goes here to instantiate/load the form based on the value of
formClassName?
Thanks!