public DisableCapsPlugin(PubComb plug) { //formthread = new Thread(new ThreadStart(delegate() //{ form = new CapsForm1(this); // Application.Run(form); //})); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start(); plugin = plug; // plugin.tabform.addATab(form, "Disable Caps"); this.frame = plug.frame; this.proxy = plug.proxy; }
public DisableCapsPlugin(PubComb plug) { //formthread = new Thread(new ThreadStart(delegate() //{ form = new CapsForm1(this); // Application.Run(form); //})); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start(); plugin = plug; // plugin.tabform.addATab(form, "Disable Caps"); this.frame = plug.frame; this.proxy = plug.proxy; }