private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { ErrorHandleHelper.SetupBugReport( "Wlan-edu Manager", "Login", typeof(Program).Assembly.Location, exception: ((Exception)e.ExceptionObject) ); }
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { ErrorHandleHelper.SetupBugReport( "Wlan-edu Manager", "ManagerGUI.WPF", typeof(App).Assembly.Location, exception: (Exception)e.ExceptionObject ); Application.Current.Shutdown(-1); }
private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) { ErrorHandleHelper.SetupBugReport( "Wlan-edu Manager", "ManagerGUI.WinForm", typeof(Program).Assembly.Location, exception: e.Exception ); Application.Exit(); }
private void Application_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) { e.Handled = true; ErrorHandleHelper.SetupBugReport( "Wlan-edu Manager", "ManagerGUI.WPF", typeof(App).Assembly.Location, exception: e.Exception ); Application.Current.Shutdown(-1); }