I'd like to set up the classic scenario where my gui app opens to a default size (if no size defined in user.config), but if the user then maximizes or resizes the application, I'd like to persist that size change to user.config so that the next time the application starts the size is recalled from the config.
I was wondering if I could utilize the property binding functionality of VS2005 to aid in this?
Currently I was planning on doing the following (which I don't think is the easiest way)...
1) On app startup check size in user.config. If none defined, assign default values.
2) On resize event persist the resulting size changes by saving settings.