Issue in CheckedChanged event

Posted by Gaddigesh on Stack Overflow See other posts from Stack Overflow or by Gaddigesh
Published on 2010-03-19T12:52:24Z Indexed on 2010/05/15 23:30 UTC
Read the original article Hit count: 223

Filed under:
|
|
|

I have a check box and I have subscribed for the CheckedChanged event. The handler does some operations in there. I check and uncheck the checkbox programmatically (ex: chkbx_Name.Checked = true), and the CheckedChanged event gets fired.

I want this event to be fired only when I manually check or uncheck it. Is there any way to avoid firing of this event when i check/uncheck it programmatically?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET