Esempio n. 1
0
        private void On_CheckedChanged(object sender, EventArgs e)
        {
            PetBattleEasy.On = On.Checked;
            Logging.Write("On_CheckedChanged {0}", On.Checked);

            SettingsIO.Save();
        }
Esempio n. 2
0
        private bool SettingsFile_Save()
        {
            bool result = false;

            try
            {
                SettingsIO.Save(settings, File_Path_Settings);
                result = true;
            }
            catch (Exception e)
            {
                System.Console.WriteLine("Exception: {0} \nFile Save Error", e.Message);
            }

            return(result);
        }
Esempio n. 3
0
 private void Nonstop_CheckedChanged(object sender, EventArgs e)
 {
     PetBattleEasy.Nonstop = Nonstop.Checked;
     Logging.Write("Nonstop_CheckedChanged {0}", Nonstop.Checked);
     SettingsIO.Save();
 }
Esempio n. 4
0
 private void OK_Click(object sender, EventArgs e)
 {
     SettingsIO.Save();
     Visible = false;
 }
Esempio n. 5
0
 private void checkBox4_CheckedChanged(object sender, EventArgs e)
 {
     PetBattleEasy.LeaveGame = LeaveGame.Checked;
     Logging.Write("LeaveGame {0}", LeaveGame.Checked);
     SettingsIO.Save();
 }
Esempio n. 6
0
 private void ImpruvedLogic_CheckedChanged(object sender, EventArgs e)
 {
     PetBattleEasy.ImpruvedLogic = ImpruvedLogic.Checked;
     SettingsIO.Save();
 }
Esempio n. 7
0
 private void Slot3Swap_CheckedChanged(object sender, EventArgs e)
 {
     PetBattleEasy.Slot3Swap = Slot3Swap.Checked;
     Logging.Write("Slo3Swap.Checked; {0}", Slot3Swap.Checked);
     SettingsIO.Save();
 }
Esempio n. 8
0
 private void NameReg_Change(object sender, EventArgs e)
 {
     PetBattleEasy.NameReg = NameReg.Text;
     Logging.Write("NameReg; {0}", NameReg.Text);
     SettingsIO.Save();
 }
Esempio n. 9
0
 private void Slot1SwapLevel_ValueChanged(object sender, EventArgs e)
 {
     PetBattleEasy.Slot1SwapLevel = (int)Slot1SwapLevel.Value;
     Logging.Write("Slot1SwapLevel; {0}", Slot1SwapLevel.Value);
     SettingsIO.Save();
 }
Esempio n. 10
0
 private void Solo_CheckedChanged(object sender, EventArgs e)
 {
     PetBattleEasy.Solo = Solo.Checked;
     Logging.Write("Solo.Checked; {0}", Solo.Checked);
     SettingsIO.Save();
 }
Esempio n. 11
0
 public void Save()
 {
     _settingsIo.Save();
 }