D
David Jackson
Hey,
I'm new to C#, so sorry if this is a dumb question.
I have a WinForms app with a form. The form has two combo boxes which which
have SelectedIndexChanged methods.
The user selects a record in the first combo box and its
SelectedIndexChanged method fires which changes the selected item in the
second combo box. Problem is that this causes the second combo box's
SelectedIndexChanged method to fire, which I don't want. I only want the
second box's SelectedIndexChanged method method to fire if the user changes
the selection, not if my code changes the selection.
How do I do this?
DJ
I'm new to C#, so sorry if this is a dumb question.
I have a WinForms app with a form. The form has two combo boxes which which
have SelectedIndexChanged methods.
The user selects a record in the first combo box and its
SelectedIndexChanged method fires which changes the selected item in the
second combo box. Problem is that this causes the second combo box's
SelectedIndexChanged method to fire, which I don't want. I only want the
second box's SelectedIndexChanged method method to fire if the user changes
the selection, not if my code changes the selection.
How do I do this?
DJ