|
WindowsApplication1.myCls is just the name of the class, so if reflection is used, .NET will only find the definition of myCls in the current assembly (dll).
For example, if the Dll file name after Form1 and myCls are compiled is AAA.DLL, then use the following statement:
Type typ = Type.GetType("WindowsApplication1.myCls,AAA"); |
|