我正在将 propertygrid 与类和关联的类型转换器一起使用。当我将类和 TypeConverter 移动到 dll 时,似乎没有调用它。找不到如何从 dll 激活类型转换器。
Assembly a = Assembly.LoadFile(modulepath + elementname + ".dll");
try
{
object myobj = a.CreateInstance(objectname);
Type objecttype = myobj.GetType();
}
感谢任何提示。谢谢你。