Ejemplo n.º 1
0
 private void EditInstruction()
 {
     if (InstructionBaseDialog.ShowDialog(this, this.instruction, this.VariableNames, this.instruction.Application))
     {
         UpdateFromInstruction(instruction);
     }
 }
Ejemplo n.º 2
0
        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);
            }
        }