예제 #1
0
        protected override void OnExit(ExitEventArgs e)
        {
            base.OnExit(e);

            Global.Quit();
        }
예제 #2
0
 void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
 {
     Global.Quit();
 }
예제 #3
0
        public App()
        {
            DispatcherUnhandledException += App_DispatcherUnhandledException;

            Global.Init();
        }