Beispiel #1
0
 public Point IniReadPoint(string Section, string Key, Point defaultValue)
 {
     string temp = new string(' ', charSize);
     GetPrivateProfileString(Section, Key, defaultValue.ToString(), temp, charSize, FileName);
     return Point.Parse(ConvertString(temp));
 }
Beispiel #2
0
 public void IniWriterPoint(string Section, string Key, Point Value)
 {
     WritePrivateProfileString(Section, Key, Value.ToString(), FileName);
 }
Beispiel #3
0
 public void SetPoint(string keyName, Point value)
 {
     if (toolKey == null) return;
     toolKey.SetValue(keyName, value);
 }