static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { UnhandledExceptionForm.Show((Exception)e.ExceptionObject); }
public static void Show(Exception e) { UnhandledExceptionForm form = new UnhandledExceptionForm(e); form.ShowDialog(); }