Exemple #1
0
 public InstanceManager(PluginGuiContainer pluginGuiContainer)
 {
     this.pluginGuiContainer = pluginGuiContainer;
     Ready  = pluginGuiContainer.Ready;
     thread = new Thread(new ThreadStart(() =>
     {
         Application.EnableVisualStyles();
         Application.Run(pluginGuiContainer);
     }));
     thread.SetApartmentState(ApartmentState.STA);
     thread.IsBackground = true;
     thread.Start();
 }
Exemple #2
0
 public InstanceHelper(PluginGuiContainer container, string extraName)
 {
     PluginGuiContainer = container;
     this.extraName     = extraName;
 }