Hi, I'm working with winforms comboboxes. When I select any item in combobox I've raised an event. But control can not come outside. When I scroll the mouse the selected event changing every time.
how to prevent this?
Hi, I'm working with winforms comboboxes. When I select any item in combobox I've raised an event. But control can not come outside. When I scroll the mouse the selected event changing every time.
how to prevent this?
The mouse scrolling actually does change the item selection in the combobox and hence ur event is fired, you dont want ur event handling code on mouse scroll?
If the problem is that you cannot use the mouse weel to open drop-down portion of the combobox, then you can use ComboBox.DroppedDown property.