Пример #1
0
        private void save()
        {
            if (checkBoxNeverShow.Checked)
            {
                _global.SetIgnoreWarmup(true);
                save(_global, false);
            }
            var newMode = getMooseMode();

            if (_originalMode != newMode)
            {
                if (newMode == MooseMode.Mighty)
                {
                    _local.EnableMightyMoose();
                }
                else if (newMode == MooseMode.Auto)
                {
                    _local.EnableAutoMoose();
                }
                else if (newMode == MooseMode.Manual)
                {
                    _local.EnableManualMoose();
                }
            }

            if (checkBoxLowMemMode.Checked)
            {
                _local.SetMinimizerLevel("off");
            }

            if (_originalMode != newMode || checkBoxLowMemMode.Checked)
            {
                save(_local, true);
            }
        }
Пример #2
0
 private void radioButtonManual_CheckedChanged(object sender, EventArgs e)
 {
     if (_isInitializing)
     {
         return;
     }
     if (radioButtonManual.Checked)
     {
         _writer.EnableManualMoose();
         checkBoxStartPaused.Checked = true;
     }
 }