Ejemplo n.º 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 + "\"");
        }
Ejemplo n.º 2
0
        public InfoForm(ChooserForm newForm)
        {
            m_frmChooser = newForm;
            InitializeComponent();

            // disable maximize box
            this.MaximizeBox = false;

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