public void Save(ref INIManager ifs, string path) { ifs.WritePrivateStringA("param", Idx.ToString() + "sect", Convert.ToString(Section), path); ifs.WritePrivateStringA("param", Idx.ToString() + "sect_string", SectionString, path); ifs.WritePrivateStringA("param", Idx.ToString() + "sect_old", SectionStringOld, path); ifs.WritePrivateStringA("param", Idx.ToString() + "sect_label", Convert.ToString(SectionLabel), path); }
private void BackClickHandle(object sender, EventArgs e) { BackButton.Visible = FullscreenCheckBox.Visible = SoundFlagCheck.Visible = false; ifs.WritePrivateStringA("settings", "fullscreen", FullscreenCheckBox.Checked.ToString(), @"..\\setting.ini"); ifs.WritePrivateStringA("settings", "sound", SoundFlagCheck.Checked.ToString(), @"..\\setting.ini"); MenuUpdate(true); }