protected void OnRecoveryModeLeave(DeviceNotificationEventArgs args)
        {
            EventHandler recoveryModeLeave = this.RecoveryModeLeave;

            if (recoveryModeLeave != null)
            {
                recoveryModeLeave(this, args);
            }
        }
        protected void OnDfuDisconnect(DeviceNotificationEventArgs args)
        {
            EventHandler dfuDisconnect = this.DfuDisconnect;

            if (dfuDisconnect != null)
            {
                dfuDisconnect(this, args);
            }
        }
        protected unsafe void OnRecoveryModeEnter(DeviceNotificationEventArgs args)
        {
            EventHandler recoveryModeEnter = this.RecoveryModeEnter;

            this.RecoveryDevice = args.Device;
            if (recoveryModeEnter != null)
            {
                recoveryModeEnter(this, args);
            }
        }
Beispiel #4
0
 protected void OnRecoveryModeLeave(DeviceNotificationEventArgs args)
 {
     EventHandler recoveryModeLeave = this.RecoveryModeLeave;
     if (recoveryModeLeave != null)
     {
         recoveryModeLeave(this, args);
     }
 }
Beispiel #5
0
 protected unsafe void OnRecoveryModeEnter(DeviceNotificationEventArgs args)
 {
     EventHandler recoveryModeEnter = this.RecoveryModeEnter;
     this.RecoveryDevice = args.Device;
     if (recoveryModeEnter != null)
     {
         recoveryModeEnter(this, args);
     }
 }
Beispiel #6
0
 protected void OnDfuDisconnect(DeviceNotificationEventArgs args)
 {
     EventHandler dfuDisconnect = this.DfuDisconnect;
     if (dfuDisconnect != null)
     {
         dfuDisconnect(this, args);
     }
 }