Esempio n. 1
0
 static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     ErrorForm showErr = new ErrorForm((Exception)e.ExceptionObject);
     showErr.ShowDialog();
 }
Esempio n. 2
0
 static void Application_ThreadException(object sender, ThreadExceptionEventArgs e)
 {
     ErrorForm showErr = new ErrorForm((Exception)e.Exception);
     showErr.ShowDialog();
 }