コード例 #1
0
        private void mnuCloseProcess_Click(object sender, EventArgs e)
        {
            CloseProcessInstruction instruction = new CloseProcessInstruction();

            instruction.Application = m_ApplicationJob;
            if (InstructionBaseDialog.ShowDialog(this, instruction, txtExecuteAfter.VariableNames, m_ApplicationJob))
            {
                SetupInstructionListBoxPanel panel = new SetupInstructionListBoxPanel(instruction);
                panel.VariableNames = txtExecuteAfter.VariableNames;
                instructionsListBox.Panels.Add(panel);
            }
        }
コード例 #2
0
        private void mnuCustomCommand_Click(object sender, EventArgs e)
        {
            CustomSetupInstruction instruction = new CustomSetupInstruction();

            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);
            }
        }
コード例 #3
0
 private void mnuCloseProcess_Click(object sender, EventArgs e)
 {
     CloseProcessInstruction instruction = new CloseProcessInstruction();
     instruction.Application = m_ApplicationJob;
     if (InstructionBaseDialog.ShowDialog(this, instruction, txtExecuteAfter.VariableNames, m_ApplicationJob))
     {
         SetupInstructionListBoxPanel panel = new SetupInstructionListBoxPanel(instruction);
         panel.VariableNames = txtExecuteAfter.VariableNames;
         instructionsListBox.Panels.Add(panel);
     }
 }