T
Torben Jensen
Hi,
In my application (c#) I have a boolean that is set to true everytime a
documents content is altered. Everytime the user saves the document my
boolean is set to false.
I want to be able to monitor this boolean. It would be great if I could
create an event that is fired everytime my boolean changes it's value,
something like:
myBool.Changed += new EventHandler(........);
But boolean doesn't have a changed event by default.
How do I create my own event, that monitors the booleans value?
Thank you
Torben
In my application (c#) I have a boolean that is set to true everytime a
documents content is altered. Everytime the user saves the document my
boolean is set to false.
I want to be able to monitor this boolean. It would be great if I could
create an event that is fired everytime my boolean changes it's value,
something like:
myBool.Changed += new EventHandler(........);
But boolean doesn't have a changed event by default.
How do I create my own event, that monitors the booleans value?
Thank you
Torben