Beispiel #1
0
        static void CurrentDispatcher_UnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
            FormUnhandledException formUnhandledException = new FormUnhandledException(e.Exception);

            formUnhandledException.ShowDialog();
            e.Handled = true;
        }
Beispiel #2
0
        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            FormUnhandledException formUnhandledException = new FormUnhandledException(e.Exception);

            formUnhandledException.ShowDialog();
        }