[quote=引用 4 楼 xiaozhu39505 的回复:] Assembly ass=Assembly.LoadFrom(DllPath) Type type=ass.GetType(“TypeName”) Object obj = Activator.CreateInstance(type,params[]); 这个obj强转为form对象,然后show就行了
Assembly ass=Assembly.LoadFrom(DllPath) Type type=ass.GetType(“TypeName”) Object obj = Activator.CreateInstance(type,params[]); 这个obj强转为form对象,然后show就行了
添加该dll引用,然后就可以new了
110,534
社区成员
642,576
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧