Exemplo n.º 1
0
            public void InitView(Arma3Configs arma3ConfigsView)
            {
                if (this.cfg_noStartScreen)
                {
                    arma3ConfigsView.noStartScreen.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.noStartScreen.IsChecked = false;
                }

                if (this.cfg_noPause)
                {
                    arma3ConfigsView.noPause.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.noPause.IsChecked = false;
                }

                if (this.cfg_emptyStartWorld)
                {
                    arma3ConfigsView.emptyWorld.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.emptyWorld.IsChecked = false;
                }

                if (this.cfg_showScriptError)
                {
                    arma3ConfigsView.showScriptError.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.showScriptError.IsChecked = false;
                }

                if (this.cfg_stopMultiCore)
                {
                    arma3ConfigsView.noCB.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.noCB.IsChecked = false;
                }

                if (this.cfg_onlyPbo)
                {
                    arma3ConfigsView.onlyPbo.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.onlyPbo.IsChecked = false;
                }

                if (this.cfg_noLog)
                {
                    arma3ConfigsView.noLog.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.noLog.IsChecked = false;
                }

                arma3ConfigsView.extraThread.Text = this.cfg_ExtraThread.ToString();

                if (this.cfg_HyperThreading)
                {
                    arma3ConfigsView.hyperThreading.IsChecked = true;
                }
                else
                {
                    arma3ConfigsView.hyperThreading.IsChecked = false;
                }
            }
Exemplo n.º 2
0
 public Manager(Arma3Configs.Manager manager)
 {
     this.configManager = manager;
     this.getAutoPathToExeArma3();
 }