private void _selectCommandsButton_Click(object sender, EventArgs e) { SelectProcessingCommandsForm form = new SelectProcessingCommandsForm(); form.Schedule = _model.Schedule; if (form.ShowDialog(this) == DialogResult.OK) { UpdateProcesingCommandsControl(); } }