Interaction logic for CrashWindow.xaml
Inheritance: System.Windows.Window
Exemplo n.º 1
0
        private void App_OnDispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs args)
        {
#if !DEBUG
            args.Handled = true;
            var wnd = new CrashWindow(args.Exception);
            wnd.ShowDialog();
            Environment.Exit(1);
#endif
        }
Exemplo n.º 2
0
        private void App_OnDispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs args)
        {
#if !DEBUG
            args.Handled = true;
            var wnd = new CrashWindow(args.Exception);
            wnd.ShowDialog();
            Environment.Exit(1);
#endif
        }