private void LaunchPython() { // only allow one instance at a time if (ChooserForm.existsGWProcess()) { return; } // create the command console ChooserForm.createCmdConsole("/K " + "\"" + txtInfoCommandLine.Text + "\""); }
public InfoForm(ChooserForm newForm) { m_frmChooser = newForm; InitializeComponent(); // disable maximize box this.MaximizeBox = false; // extend tooltip time toolTip1.ShowAlways = true; }
protected override void WndProc(ref Message m) // capture close message so we can save our settings { if (m.Msg == WM_CLOSE) { // confirm close if windowed process is still running if (!ChooserForm.confirmCloseProcess(this.btnLaunch)) { return; } // write inifile iniWriteFile(); // show main form ChooserForm.m_frmChooser.Show(); } base.WndProc(ref m); }
public WriteForm(ChooserForm newForm) { m_frmChooser = newForm; InitializeComponent(); InitializeMyStuff(); }
public BandwidthForm(ChooserForm newForm) { m_frmChooser = newForm; InitializeComponent(); }
public PictureForm(ChooserForm newForm) { InitializeComponent(); }