private void buttonConfigureOutputs_Click(object sender, EventArgs e) { if (listViewControllers.SelectedItems.Count > 0) { ConfigControllersOutputs outputsForm = new ConfigControllersOutputs(listViewControllers.SelectedItems[0].Tag as OutputController); outputsForm.ShowDialog(); } }
private void buttonConfigureOutputs_Click(object sender, EventArgs e) { if (listViewControllers.SelectedItems.Count > 0) { using ( ConfigControllersOutputs outputsForm = new ConfigControllersOutputs(listViewControllers.SelectedItems[0].Tag as OutputController)) { if (outputsForm.ShowDialog() == DialogResult.OK) { //make the assumption that changes were made in the Controller channel setup _changesMade = true; } } } }
private void buttonConfigureOutputs_Click(object sender, EventArgs e) { if (listViewControllers.SelectedItems.Count > 0) { using (ConfigControllersOutputs outputsForm = new ConfigControllersOutputs(listViewControllers.SelectedItems[0].Tag as OutputController)) { if (outputsForm.ShowDialog() == DialogResult.OK) { //make the assumption that changes were made in the Controller channel setup _changesMade = true; } } } }