private void Flush() { MyIni.FlushPrivateProfileString(0, 0, 0, this.strFilename); }
public bool GetBoolean(string Section, string Key, bool Default) { return(MyIni.GetPrivateProfileInt(Section, Key, -(Default ? 1 : 0), this.strFilename) == 1); }
public void WriteString(string Section, string Key, string Value) { MyIni.WritePrivateProfileString(Section, Key, Value, this.strFilename); this.Flush(); }
public int GetInteger(string Section, string Key, int Default) { return(MyIni.GetPrivateProfileInt(Section, Key, Default, this.strFilename)); }