Interaction logic for Crash.xaml
상속: 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);
        }