G
Guest
I would like to create an instance of System.Windows.Form.TextBox
but I just have the name of the objec in a string like that:
string strType = "System.Windows.Form.TextBox";
I tryed myOgject = CreateInstance(Type.GetType(strType))
but it does not work because Type.GetType(strType) rturn null.
Does anybody can help me???
but I just have the name of the objec in a string like that:
string strType = "System.Windows.Form.TextBox";
I tryed myOgject = CreateInstance(Type.GetType(strType))
but it does not work because Type.GetType(strType) rturn null.
Does anybody can help me???