/// <summary> /// Raises the <see>RecoveryModeLeave</see> event. /// </summary> /// <param name="args">A <see cref="DeviceNotificationEventArgs"/> that contains the event data.</param> protected void OnRecoveryModeLeave(DeviceNotificationEventArgs args) { EventHandler handler = RecoveryModeLeave; if (handler != null) { handler(this, args); } }
/// <summary> /// Raises the <see>DfiDisconnect</see> event. /// </summary> /// <param name="args">A <see cref="DeviceNotificationEventArgs"/> that contains the event data.</param> protected void OnDfuDisconnect(DeviceNotificationEventArgs args) { EventHandler handler = DfuDisconnect; if (handler != null) { handler(this, args); } }