コード例 #1
0
 private void btnDisableAllReaders_Click(object sender, RoutedEventArgs e)
 {
     if (_rfidManager.IsReading == false && _rfidManager.CloseAll())
     {
         btnDisableAllReaders.IsEnabled = false;
         btnEnableAllReaders.IsEnabled  = true;
         btnAddReader.IsEnabled         = true;
     }
 }
コード例 #2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     RfidManager.CloseAll();
 }