G
Guest
I would like to be able to change a property of a control without calling the event handler I have registered for it. For example, I would like a function like the following
void SilentSet(CheckBox* checkbox, bool set)
DisableCheckedChangedEvent(checkbox)
checkbox->Checked = set
EnableCheckedChangedEvent(checkbox)
}
void SilentSet(CheckBox* checkbox, bool set)
DisableCheckedChangedEvent(checkbox)
checkbox->Checked = set
EnableCheckedChangedEvent(checkbox)
}