예제 #1
0
파일: Program.cs 프로젝트: wshanshan/DDD
 static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     Exception exc = e.ExceptionObject as Exception;
     Dialogs.FatalException f = new Aptima.Asim.DDD.Client.Dialogs.FatalException();
     f.Message = exc.Message;
     f.ShowDialog();
     Environment.Exit(1);
 }
예제 #2
0
파일: Program.cs 프로젝트: wshanshan/DDD
        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            Dialogs.FatalException f = new Aptima.Asim.DDD.Client.Dialogs.FatalException();
            f.Message = e.Exception.Message;
            f.ShowDialog();

            Environment.Exit(1);
        }
예제 #3
0
        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            Dialogs.FatalException f = new Aptima.Asim.DDD.Client.Dialogs.FatalException();
            f.Message = e.Exception.Message;
            f.ShowDialog();

            Environment.Exit(1);
        }
예제 #4
0
        static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
        {
            Exception exc = e.ExceptionObject as Exception;

            Dialogs.FatalException f = new Aptima.Asim.DDD.Client.Dialogs.FatalException();
            f.Message = exc.Message;
            f.ShowDialog();
            Environment.Exit(1);
        }