private void OnControlError(object source, ControlErrorEventArgs e) { //Event handler for error from custom control reportError(e.Exception); }
private void OnIssueCtlError(object source, ControlErrorEventArgs e) { //Event handler for errors in Issue Explorer App.ReportError(e.Exception, true, LogLevel.Error); Globals.ThisAddIn.Ribbon.Refresh(); }