Esempio n. 1
0
        void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
            var unhandledExceptionDialog = new UnhandledExceptionDialog(e.Exception);

            e.Handled = unhandledExceptionDialog.ShowDialog().GetValueOrDefault();
        }
Esempio n. 2
0
 void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
 {
     var unhandledExceptionDialog = new UnhandledExceptionDialog(e.Exception);
     e.Handled = unhandledExceptionDialog.ShowDialog().GetValueOrDefault();
 }