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