Exemple #1
0
        public GenRulesForm()
        {
            InitializeComponent();

            if (!GenGlobal.GetSetting(GenGlobal.AutoTuneSettings.GEN_RULES))
            {
                GenGlobal.GenerationRules = new GenerationRules();
                GenGlobal.SaveSetting(GenGlobal.AutoTuneSettings.GEN_RULES);
            }

            GenerationRules             = GenGlobal.GenerationRules;
            GenRulesProp.SelectedObject = GenerationRules;
        }
Exemple #2
0
 private void AutoTuneApp_FormClosing(object sender, FormClosingEventArgs e)
 {
     GenGlobal.SaveSetting(GenGlobal.AutoTuneSettings.OLD_GEN_CONFIG);
 }
Exemple #3
0
 private void GenRulesForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     GenGlobal.SaveSetting(GenGlobal.AutoTuneSettings.GEN_RULES);
 }