コード例 #1
0
        private void Application_Exit(object sender, ExitEventArgs e)
        {
            try
            {
                if (MonitorManager.IsTwoMonitor)
                {
                    LockDisplayWindow.Close();
                }
                MainWnd.Close();
                Taskbar.Show();

                if (CurrentProceess?.IsProcessOpened ?? false)
                {
                    CurrentProceess.StopProcess();
                }
                Repository.Dispose();
                Logger.Info("End seanse in VrManager!!!!!");
            }
            catch (Exception ex)
            {
                SendException(ex);
            }
        }
コード例 #2
0
        private void Application_Exit(object sender, ExitEventArgs e)
        {
            try
            {
                Convert.ToUInt32("sdsa");
                if (MonitorManager.IsTwoMonitor)
                {
                    LockDisplayWindow.Close();
                }
                MainWnd.Close();
                Taskbar.Show();

                if (CurrentProceess?.IsProcessOpened ?? false)
                {
                    CurrentProceess.StopProcess();
                }
                Repository.Dispose();
                Logger.Info("End seanse in VrManager!!!!!");
            }
            catch (Exception ex)
            {
                App.Logger.Error($"exeption {ex.Message} ||| in class {nameof(App)} and method {GetStackTraseMethod().GetMethod().Name}");
            }
        }