コード例 #1
0
 private void setTimeDelayCommand()
 {
     SelectCommandPopUp selectCommandDialog = new SelectCommandPopUp(timeDelayCommandField.Text,
         timeDelayArgumentsField.Text);
     if (selectCommandDialog.ShowDialog() == DialogResult.OK)
     {
         timeDelayCommandField.Text = selectCommandDialog.getCommand();
         timeDelayArgumentsField.Text = selectCommandDialog.getArguments();
     }
 }
コード例 #2
0
 private void setDatesTimesCommand()
 {
     SelectCommandPopUp selectCommandDialog = new SelectCommandPopUp(datesTimesCommandField.Text,
         datesTimesArgumentsField.Text );
     if (selectCommandDialog.ShowDialog() == DialogResult.OK)
     {
         datesTimesCommandField.Text = selectCommandDialog.getCommand();
         datesTimesArgumentsField.Text = selectCommandDialog.getArguments();
     }
 }