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)); } }
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)); }