private static void CurrentDomainOnUnhandledException(object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs) { Programm.ReportCrash((Exception)unhandledExceptionEventArgs.ExceptionObject, ""); Environment.Exit(0); }
private static void ApplicationThreadException(object sender, ThreadExceptionEventArgs e) { Programm.ReportCrash(e.Exception, ""); }