Esempio n. 1
0
 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);
 }
Esempio n. 2
0
        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);
        }