private void EditInstruction() { if (InstructionBaseDialog.ShowDialog(this, this.instruction, this.VariableNames, this.instruction.Application)) { UpdateFromInstruction(instruction); } }
private void mnuCloseProcess_Click(object sender, EventArgs e) { CloseProcessInstruction instruction = new CloseProcessInstruction(); instruction.Application = this.m_ApplicationJob; if (InstructionBaseDialog.ShowDialog(this, instruction, this.txtExecuteAfter.VariableNames, this.m_ApplicationJob)) { SetupInstructionListBoxPanel panel = new SetupInstructionListBoxPanel(instruction) { VariableNames = this.txtExecuteAfter.VariableNames }; this.instructionsListBox.Panels.Add(panel); } }