Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Detect field change on form in c#?

$
0
0
I have a similar question to http://social.msdn.microsoft.com/Forums/windows/en-US/bd5127a1-1e32-4814-a1a8-52a7dc4b4f39/detecting-changes-on-form-controls but was wondering if there's a way to perhaps do a global for "TextChanged" or anything that would indicate there was a change to the form compared to when either the form was new or since the record it was referring to was loaded.  Main reason is if I click a button to do a new form or to retrieve an open record, I want to prompt the user that a change was made and whether or not they want to save changes first or not.

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>