I have added one combo box on form and written Got focus event for that as DroppedDown=True. But when I click on the combobox first that gotfocus event get call and items list get pop up. But after that due to mouse up event that list again pop dow开发者_运维知识库n so i cann't see the pop up list. How to tackle this??
Can low level event or global hooks help in this case??I shall suggest you not to handle GotFocus
event.
try this
if (MouseButtons == MouseButtons.None)
combobox.DroppedDown = true;
精彩评论