public static void HandleException(IWin32Window owner, Exception ex) { AddExceptionAdvancedInformation(ex); var box = new Microsoft.SqlServer.MessageBox.ExceptionMessageBox() { Caption = Properties.Resources.MyAppHandleExceptionDefaultCaption, Message = ex, Beep = true, Symbol = ExceptionMessageBoxSymbol.Error, }; box.Show(owner); } // HandleException
} // RecorderLauncherPath #region HandleException methods public static void HandleException(Form owner, Exception ex) { BasicGoogleTelemetry.SendExtendedExceptionHit(ex); AddExceptionAdvancedInformation(ex); var box = new Microsoft.SqlServer.MessageBox.ExceptionMessageBox() { Caption = Properties.Texts.MyAppHandleExceptionDefaultCaption, Message = ex, Beep = true, Symbol = ExceptionMessageBoxSymbol.Error, }; box.Show(owner); } // HandleException