Interaction logic for Crash.xaml
Inheritance: System.Windows.Window
示例#1
0
文件: App.cs 项目: zygissd/rooler
        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);
        }
示例#2
0
文件: App.cs 项目: RSchwoerer/rooler
        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);
        }