Hi,
I have described a class with a lot of members with a lot of situation that can change the value of a particular variable member. I would like to intercept every time this variable changes its value in order to perform other things due to the new value.
Is it possible to handle the changing of the variable with an event? If I have understood well, the event _TextChanged of the Text box does the same as I wish on the string variable "Text" member of that class.
If so, how can I write my code?
Thank's
Davide
I have described a class with a lot of members with a lot of situation that can change the value of a particular variable member. I would like to intercept every time this variable changes its value in order to perform other things due to the new value.
Is it possible to handle the changing of the variable with an event? If I have understood well, the event _TextChanged of the Text box does the same as I wish on the string variable "Text" member of that class.
If so, how can I write my code?
Thank's
Davide