Group: Forum Members
Posts: 10,
Visits: 65
|
Currently I have a Save and a Cancel button on my main form. I change there enabled state in the myBO.EditingStateChanged and BO_FieldPropertyChanged events
mybutton.Enabled = myBO.IsDirty
but I would rather databind to the IsDirty property so that I don't have to needlessly piggyback off of two other events.
Any ideas on how to accomplish this?
Thanks
Jerome
|