public static void Save(IConfigSetting s, System.Windows.Forms.Form f) { s["w"].intValue = f.Width; s["h"].intValue = f.Height; s["l"].intValue = f.Left; s["t"].intValue = f.Top; }