LATEST CHATTY HEADER
Subscribe to Shacknews Mercury starting at $1/month!
Chrome Shack Community Guidelines Chatty Search
Scroll down to join the conversation.
New to Shacknews? Signup for a Free Account
Already have an account? Login Now
Subscribe to Shacknews Mercury starting at $1/month!
Chrome Shack Community Guidelines Chatty Search
Scroll down to join the conversation.
I have a question that's bugged me for years and I thought I might get some interesting ideas on how to handle a problem I run into quite a bit. I'm writing this using C# in VS2008 and didn't know if someone here might have a solution to this problem.
I have an object Foo. Foo has a Property named Bar. When Bar changes, it raises the BarChanged Event. How do you handle a situation where you want to update Bar, but want to suppress the resulting BarChanged event from happening? Do you have a second Property named something like BarSuppressEvents or something stupid like that?
Thread Truncated. Click to see all 56 replies.
The post has been reported. Thank you!
You must be logged in to post.
You must be logged in to post.