Example #1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     AppDomain.CurrentDomain.UnhandledException += (sender, eargs)
                                                   => HandleExcObject(eargs.ExceptionObject);
     AppCoordinator appcoord = new AppCoordinator();
 }
Example #2
0
        private void LauncherProc_Exited(object sender, EventArgs e)
        {
            //Logger.WriteInfo("The process ended successfully. sender: " + sender.ToString());
            Process p = (Process)sender;

            AppCoordinator.RemoveObsoleteProcess(p.Id);
        }
Example #3
0
        public AppCoordinator()
        {
            theAppCoordinator = this;

            BeginMonitoringGame();

            ShowMainWindow();

            BeginMonitoringServers();
        }
        public AppCoordinator()
        {
            theAppCoordinator = this;

            ConfigureLogger();

            MigrateSettingsIfNeeded();

            ParseCommandLine();

            var dwMode = UtilityCode.WinSetErrorMode.SetErrorMode(UtilityCode.WinSetErrorMode.ErrorModes.SEM_NOGPFAULTERRORBOX);

            UtilityCode.WinSetErrorMode.SetErrorMode(dwMode | UtilityCode.WinSetErrorMode.ErrorModes.SEM_NOGPFAULTERRORBOX);

            BeginMonitoringGame();

            ShowMainWindow();

            BeginMonitoringServers();
        }
Example #5
0
        private void LauncherProc_Exited(object sender, EventArgs e)
        {
            Process p = (Process)sender;

            AppCoordinator.RemoveObsoleteProcess(p.Id);
        }