I am trying to change the combo box in this image to an ultra combo control (this is a picture of a tool strip with controls added):
In my view's constructor, I've added the following:
UltraCombo cboArea2 = new UltraCombo();
ToolStripControlHost tsHost = new ToolStripControlHost(cboArea2);
tsMain.Items.Clear();
tsMain.Items.Add(toolStripLabel2);
tsMain.Items.Add(toolStripLabel1);
tsMain.Items.Add(tsHost);
tsMain.Items.Add(toolStripSeparator1);
tsMain.Items.Add(btnGetArea);
tsMain.Items.Add(btnCreateArea);
However, this causes the following to happen:
I'm not sure why the combo box and buttons are being added into a dropdown instead of the toolstrip.
Can anybody provide feedback as to how to format this the way I need?