G
Guest
Ususally we do like:
SalesOrderForm fm = new SalesOrderForm();
where SalesOrderForm is a valid form in one of the assembly, that is
SalesOrderForm is a type. How can I create an instance of SalesOrderForm
when I do not know its type at run tyme? For example
public openForm (string formName)
{
// here I might get "SalesOrderForm" or something else. If I get
"SalesOrderForm" then I want to open it.
Here, it will also be NOT known which assembly this for is in.
}
Thanks.
SalesOrderForm fm = new SalesOrderForm();
where SalesOrderForm is a valid form in one of the assembly, that is
SalesOrderForm is a type. How can I create an instance of SalesOrderForm
when I do not know its type at run tyme? For example
public openForm (string formName)
{
// here I might get "SalesOrderForm" or something else. If I get
"SalesOrderForm" then I want to open it.
Here, it will also be NOT known which assembly this for is in.
}
Thanks.