Interaction logic for Crash.xaml
Inheritance: System.Windows.Window
Ejemplo n.º 1
0
        private static void UnhandledExceptionHandler(object sender, DispatcherUnhandledExceptionEventArgs e)
        {
            e.Handled = true;

            Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(delegate {
                Crash crash = new Crash(e.Exception.Message + e.Exception.StackTrace);
                crash.Show();
                return(null);
            }), null);
        }
Ejemplo n.º 2
0
        private static void UnhandledExceptionHandler(object sender, DispatcherUnhandledExceptionEventArgs e)
        {
            e.Handled = true;

            Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(delegate {

                Crash crash = new Crash(e.Exception.Message + e.Exception.StackTrace);
                crash.Show();
                return null;
            }), null);
        }