You have two three decent options:
- Create a single class which you serialize/deserialize
- Use the app.config to save your form configuration
- Settings
With a single class, you might have something like:
[XmlRoot]
public class FormProperties
{
// store as public properties
[XmlElement]
public Point myButtonLocation {get; set;}
}
Then using XmlSerialization, you can save the settings. Note, any properties you store in this class must be serializable to Xml. Check datatypes like System.Drawing.Point
to determine what can be serialized.
Alternatively, store your form properties in your application's app.config.
Added #3 - Settings
In VS you can use the Settings.Settings to store form control properties.