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

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

            Global.Init();
        }