Quantcast
Viewing all articles
Browse latest Browse all 764

IsDirty Change Event

Good day.

i would like to get some help on the following. i am working in a WinForms environment application, i have a "Save" button but i would like to enable/disable the button is my object has been changed. i would think that i would need to check the 'IsDirty' flag of my object, is this correct?

if so, how would i get a raised event when my 'IsDirty' property gets changed so that i can enable/disable my save button accordingly?

any help with on this would be much appreciated.


Viewing all articles
Browse latest Browse all 764

Trending Articles