My app (VB.Net 2005 Beta 2) has an options screen which allows the user to change their preferences. Typically, each setting is bound to a checkbox or radio button.
How can I check if a particular setting has been changed? (I don't want to put code under every control.)
How can I iterate through all user settings to check if any have changed?
Ideally I would like a generic routine something like...
For each UserSetting in My.Settings
if UserSetting is different to SavedSetting then
ChangedFlag = True
Maybe I could get the original settings in the form load, and compare to the final settings in form close. Which objects would I use to do this?
I am specifically after code samples here. Thanks, Alister