How to distinguish user vs programmatic changes in WinForms CheckBox?
- by cs31415
I have logic on a CheckBox's OnCheckedChanged event that fires on form load as well as when user changes check state. I want the logic to only execute upon user action.
Is there a slick way of detecting user vs programmatic change that doesn't rely on setting/checking user variables?