private void On_CheckedChanged(object sender, EventArgs e) { PetBattleEasy.On = On.Checked; Logging.Write("On_CheckedChanged {0}", On.Checked); SettingsIO.Save(); }
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); }
private void Nonstop_CheckedChanged(object sender, EventArgs e) { PetBattleEasy.Nonstop = Nonstop.Checked; Logging.Write("Nonstop_CheckedChanged {0}", Nonstop.Checked); SettingsIO.Save(); }
private void OK_Click(object sender, EventArgs e) { SettingsIO.Save(); Visible = false; }
private void checkBox4_CheckedChanged(object sender, EventArgs e) { PetBattleEasy.LeaveGame = LeaveGame.Checked; Logging.Write("LeaveGame {0}", LeaveGame.Checked); SettingsIO.Save(); }
private void ImpruvedLogic_CheckedChanged(object sender, EventArgs e) { PetBattleEasy.ImpruvedLogic = ImpruvedLogic.Checked; SettingsIO.Save(); }
private void Slot3Swap_CheckedChanged(object sender, EventArgs e) { PetBattleEasy.Slot3Swap = Slot3Swap.Checked; Logging.Write("Slo3Swap.Checked; {0}", Slot3Swap.Checked); SettingsIO.Save(); }
private void NameReg_Change(object sender, EventArgs e) { PetBattleEasy.NameReg = NameReg.Text; Logging.Write("NameReg; {0}", NameReg.Text); SettingsIO.Save(); }
private void Slot1SwapLevel_ValueChanged(object sender, EventArgs e) { PetBattleEasy.Slot1SwapLevel = (int)Slot1SwapLevel.Value; Logging.Write("Slot1SwapLevel; {0}", Slot1SwapLevel.Value); SettingsIO.Save(); }
private void Solo_CheckedChanged(object sender, EventArgs e) { PetBattleEasy.Solo = Solo.Checked; Logging.Write("Solo.Checked; {0}", Solo.Checked); SettingsIO.Save(); }
public void Save() { _settingsIo.Save(); }