Beispiel #1
0
        private void RunPythonMenu_Click(object sender, EventArgs e)
        {
            var process = (ProcessInfo)ProcessMenu.Tag;

            using (var dialog = new EnterPythonDialog())
                if (dialog.ShowDialog(this) == DialogResult.OK)
                {
                    Start(DoEval(process, dialog.PythonText.Text));
                }
        }
Beispiel #2
0
        private void RunPythonMenu_Click(object sender, EventArgs e)
        {
            var process = (ProcessInfo)ProcessMenu.Tag;

            using (var dialog = new EnterPythonDialog())
                if (dialog.ShowDialog(this) == DialogResult.OK)
                    Start(DoEval(process, dialog.PythonText.Text));
        }