/// <summary> /// Called when a notification gets invalidated. /// </summary> /// <param name="args">The <see cref="EVEMon.Common.Notifications.NotificationInvalidationEventArgs"/> instance containing the event data.</param> internal static void OnNotificationInvalidated(NotificationInvalidationEventArgs args) { if (Closed) return; Trace(); NotificationInvalidated?.ThreadSafeInvoke(null, args); }
/// <summary> /// Update the notifications list. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void EveMonClient_NotificationInvalidated(object sender, NotificationInvalidationEventArgs e) { UpdateNotifications(); }
/// <summary> /// Called when a notification gets invalidated. /// </summary> /// <param name="args">The <see cref="EVEMon.Common.Notifications.NotificationInvalidationEventArgs"/> instance containing the event data.</param> internal static void OnNotificationInvalidated(NotificationInvalidationEventArgs args) { Trace("EveClient.OnNotificationInvalidated"); if (NotificationInvalidated != null) NotificationInvalidated(null, args); }