- Apr 24, 2005
- 553
- 4
- 81
Hi -
In .NET, I have code that checks a check box (chkBlah.Checked = true). Of course, that triggers the Checked event handler. The event handler is also triggered when the USER checks that check box.
What's the easiest way to find out who checked that box - my code or the user? If there a "originator" property to tell me why the event was fired?
C#/VB.NET
Thanks guys
In .NET, I have code that checks a check box (chkBlah.Checked = true). Of course, that triggers the Checked event handler. The event handler is also triggered when the USER checks that check box.
What's the easiest way to find out who checked that box - my code or the user? If there a "originator" property to tell me why the event was fired?
C#/VB.NET
Thanks guys