Exemple #1
0
 private void Form1_Closed(object sender, EventArgs e)
 {
     if (RFIDWrapper.Instance != null)
     {
         RFIDWrapper.Disconnect();
     }
 }
Exemple #2
0
 private void SetupRFIDDevice()
 {
     if (!RFIDWrapper.RFIDReaderConnected())
     {
         MessageBox.Show("This device will not scan an RFID code.");
     }
     else
     {
         //Supply callback for handling RFID tag reads
         RFIDWrapper.HandleRFIDScan(this.Instance_RFIDTagIdReceived);
     }
 }