상속: Common.Controls.BaseForm
예제 #1
0
 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();
     }
 }
예제 #2
0
 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;
             }
         }
     }
 }
예제 #3
0
 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;
             }
         }
     }
 }