protected void OnReaderAction(DeviceEventArgs e) { if (ReaderAction != null) ReaderAction(this, e); }
void target_ReaderAction(object sender, DeviceEventArgs e) { System.Console.Out.WriteLine(String.Format("Reader {2} status changed from {0} to {1}", e.PreviousState, e.NewState, e.DeviceName)); waitChange.Set(); }
protected void OnCardAction(DeviceEventArgs e) { if (CardAction != null) CardAction(this, e); }