// set the active status for the soldering irons private void cb_solderingiron1active_Checked(object sender, RoutedEventArgs e) { if (cb_solderingiron1active.IsChecked == true) { usbController.setSolderingIron1Status(true); } else { usbController.setSolderingIron1Status(false); } }
// set the active status for the soldering irons private void cb_solderingiron1active_Checked(object sender, RoutedEventArgs e) { dispatcherTimer.IsEnabled = false; if (cb_solderingiron1active.IsChecked == true) { usbController.setSolderingIron1Status(true); } else { usbController.setSolderingIron1Status(false); } dispatcherTimer.IsEnabled = true; }