Exemple #1
0
        private static void HandleUnhandledException(object sender, UnhandledExceptionEventArgs e)
        {
            Exception ex = (Exception)e.ExceptionObject;

            FormExceptionDialog.OpenDialog(ex);
        }
Exemple #2
0
        private static void HandleThreadException(object sender, ThreadExceptionEventArgs e)
        {
            Exception ex = e.Exception;

            FormExceptionDialog.OpenDialog(ex);
        }