示例#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();
        }