I am working on filling in the fields of a form and I have one ComboBox
that refers to the sales staff and I have the associated event SelectedIndexChanged
that triggers a search after changing the value. What I want is to prevent that event from being triggered, because when doing the Load
form in a first load I get an error when trying to do the associated search, since it ComboBox
does not yet have a valid value. Thank you very much.
I can do like this:
...and reconnect it later like this:
Of course, in this case, you must have an event like this: