H
Hari
Hi,
I need to get a form instance, by supplying the form name i.e, i
need some thing similar to Class.forName() in Java. I tried it using
System.Type.GetType() method passing the form name as object. But the
prob here is i'm getting an exception saying "System.Type can not be
casted to a System.Windows.Form". How can i get the form object based
on the form name. Any one plz suggest.
Thanks,
Hari
I need to get a form instance, by supplying the form name i.e, i
need some thing similar to Class.forName() in Java. I tried it using
System.Type.GetType() method passing the form name as object. But the
prob here is i'm getting an exception saying "System.Type can not be
casted to a System.Windows.Form". How can i get the form object based
on the form name. Any one plz suggest.
Thanks,
Hari