/// <summary> /// Handles the ErrorResolved event when a http timeout is displayed of the troubleshooter control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ApiErrorTroubleshooterEventArgs"/> instance containing the event data.</param> private void troubleshooter_ErrorResolved(object sender, ApiErrorTroubleshooterEventArgs e) { m_troubleshooterUsed = true; if (e == null) { return; } if (!e.Resolved) { TroubleshooterPanel.BackColor = Color.DarkSalmon; return; } EveMonClient.Notifications.Invalidate(new NotificationInvalidationEventArgs(m_notification)); PerformAction(e.Action); }
/// <summary> /// Handles the ErrorResolved event when a http timeout is displayed of the troubleshooter control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ApiErrorTroubleshooterEventArgs"/> instance containing the event data.</param> private void troubleshooter_ErrorResolved(object sender, ApiErrorTroubleshooterEventArgs e) { m_troubleshooterUsed = true; if (e == null) return; if (!e.Resolved) { TroubleshooterPanel.BackColor = Color.DarkSalmon; return; } EveMonClient.Notifications.Invalidate(new NotificationInvalidationEventArgs(m_notification)); PerformAction(e.Action); }