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

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

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