Beispiel #1
0
        private static void CurrentDomainOnUnhandledException(object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs)
        {
            var ex   = unhandledExceptionEventArgs.ExceptionObject as Exception;
            var fail = new UpdateFailed(ex);

            fail.ShowDialog();
        }
Beispiel #2
0
        private static void ApplicationOnThreadException(object sender, ThreadExceptionEventArgs threadExceptionEventArgs)
        {
            var          ex   = threadExceptionEventArgs.Exception;
            UpdateFailed fail = new UpdateFailed(ex);

            fail.ShowDialog();
        }
Beispiel #3
0
 private static void CurrentDomainOnUnhandledException(object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs)
 {
     var ex = unhandledExceptionEventArgs.ExceptionObject as Exception;
     var fail = new UpdateFailed(ex);
     fail.ShowDialog();
 }
Beispiel #4
0
 private static void ApplicationOnThreadException(object sender, ThreadExceptionEventArgs threadExceptionEventArgs)
 {
     var ex = threadExceptionEventArgs.Exception;
     UpdateFailed fail = new UpdateFailed(ex);
     fail.ShowDialog();
 }