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