In a desktop application needing some serious re-factoring, I have several chunks of code that look like this:
private void LoadSettings() { WindowState
If you open your windows form in the designer, look in the properties box. The first item should be "(ApplicationSetting)". Under that is "(PropertyBinding)". That's where you'll find the option to do exactly what you want.