VB.net - prompting user if they want to save changes
Posted on 2007-04-05
I've an application with many inputs (split across multiple user defined controls).
When the user tries to exit, I'd like to prompt them if they want to save changes (this part is ok, its knowing if they've made changes before prompting is the part I need to know how to do)
Is there an easy way to know if user has made changes - rather than record every controls original value , and then check through every control if the value has been changed when the user wants to exit?
Thanks in advance