Example #1
0
 protected unsafe void OnRecoveryModeEnter(DeviceNotificationEventArgs args)
 {
     EventHandler recoveryModeEnter = this.RecoveryModeEnter;
     this.RecoveryDevice = args.Device;
     if (recoveryModeEnter != null)
     {
         recoveryModeEnter(this, args);
     }
 }
Example #2
0
 protected void OnRecoveryModeLeave(DeviceNotificationEventArgs args)
 {
     EventHandler recoveryModeLeave = this.RecoveryModeLeave;
     if (recoveryModeLeave != null)
     {
         recoveryModeLeave(this, args);
     }
 }
Example #3
0
 protected void OnDfuDisconnect(DeviceNotificationEventArgs args)
 {
     EventHandler dfuDisconnect = this.DfuDisconnect;
     if (dfuDisconnect != null)
     {
         dfuDisconnect(this, args);
     }
 }