private void btnDisableAllReaders_Click(object sender, RoutedEventArgs e) { if (_rfidManager.IsReading == false && _rfidManager.CloseAll()) { btnDisableAllReaders.IsEnabled = false; btnEnableAllReaders.IsEnabled = true; btnAddReader.IsEnabled = true; } }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { RfidManager.CloseAll(); }