public void OnCardError(object sender, CardEventArgs <string> e) { EventHandler <CardEventArgs <string> > handler = SmartCardErrorEventHandler; if (handler != null) { handler(this, null); } }
public void OnCardInserted(object sender, CardEventArgs <string> e) { EventHandler <CardEventArgs <string> > handler = SmartCardInsertEventHandler; if (handler != null) { handler(this, e); } }