Hello guys~
I got problem
this is my code:
But this "form" is still null
Who can help me to fix it?????
I got problem
this is my code:
Code:
MainForm mainForm = this.ParentForm as MainForm; string strassemblyName = string.Empty; strassemblyName = "PowerOne.Win.Order".ToString(); //Assembly System.Reflection.AssemblyName assemblyName = new System.Reflection.AssemblyName(); assemblyName.Name = strassemblyName; AppDomain appDomain = AppDomain.CurrentDomain; System.Reflection.Assembly tmpass = appDomain.Load(assemblyName); CustomerTypeEdit form = (CustomerTypeEdit)tmpass.CreateInstance("PowerOne.PowerOne.Win.Order.CustomerTypeEdit", true); form.Show();
But this "form" is still null
Who can help me to fix it?????
Comment