ToolStripCombobox displays at the top left corner of the screen when DropDownStyle is Simple
- 阅读更多 关于 ToolStripCombobox displays at the top left corner of the screen when DropDownStyle is Simple
I have a ToolStripCombobox that when I set its DropDownStyle to Simple . The first time which I open the menu, it displays at the top left corner of the screen. However, when I select the same item for the second time, it displays in the correct location. Is there a way to prevent the code from showing the list at the top left corner of the screen? Thank you in advance for any help. First Time Second Time To solve the problem put this code in the Load event of form: var item = toolStripComboBox1; var createControl = item.Control.Parent.GetType().GetMethod("CreateControl", System.Reflection