private void setTimeDelayCommand() { SelectCommandPopUp selectCommandDialog = new SelectCommandPopUp(timeDelayCommandField.Text, timeDelayArgumentsField.Text); if (selectCommandDialog.ShowDialog() == DialogResult.OK) { timeDelayCommandField.Text = selectCommandDialog.getCommand(); timeDelayArgumentsField.Text = selectCommandDialog.getArguments(); } }
private void setDatesTimesCommand() { SelectCommandPopUp selectCommandDialog = new SelectCommandPopUp(datesTimesCommandField.Text, datesTimesArgumentsField.Text ); if (selectCommandDialog.ShowDialog() == DialogResult.OK) { datesTimesCommandField.Text = selectCommandDialog.getCommand(); datesTimesArgumentsField.Text = selectCommandDialog.getArguments(); } }