Home > Net >  Across the application domain, the controls within the DLL is loaded into the Form error: remote pro
Across the application domain, the controls within the DLL is loaded into the Form error: remote pro

Time:09-16

I want to cross the application domain (AppDomain), a control from the DLL is loaded into the Form, the result error:
Remote processing cannot be found on the type of Control field parent

//
//key code below
//which is pluginSettingPanel across application domain (AppDomain) to create a Panel control,
//
GbPluginMode. Controls. The Add (pluginSettingPanel);
PluginSettingPanel. The Dock=DockStyle. The Fill;


Search found that before somebody in a similar problem:
https://bbs.csdn.net/topics/392453421
https://bbs.csdn.net/topics/390507925
  •  Tags:  
  • C#
  • Related