예제 #1
0
        private void LaunchPython()
        {
            // only allow one instance at a time
            if (ChooserForm.existsGWProcess())
            {
                return;
            }

            // create the command console
            ChooserForm.createCmdConsole("/K " + "\"" + txtInfoCommandLine.Text + "\"");
        }
예제 #2
0
        public InfoForm(ChooserForm newForm)
        {
            m_frmChooser = newForm;
            InitializeComponent();

            // disable maximize box
            this.MaximizeBox = false;

            // extend tooltip time
            toolTip1.ShowAlways = true;
        }
예제 #3
0
        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);
        }
예제 #4
0
 public WriteForm(ChooserForm newForm)
 {
     m_frmChooser = newForm;
     InitializeComponent();
     InitializeMyStuff();
 }
 public BandwidthForm(ChooserForm newForm)
 {
     m_frmChooser = newForm;
     InitializeComponent();
 }
예제 #6
0
 public PictureForm(ChooserForm newForm)
 {
     InitializeComponent();
 }