How to make a button on a form, like a button on a toolStrip? VS2008

How to create a button in a form, like a button on a toolStrip?

I want the list of menu types to go down. I tried using toolStripContainer, but it is very difficult to manipulate to make it behave like a single button.

Is there an easier way than just putting toolStrip with a single button in toolStripContainer?

Thank.

+3
source share
1 answer

Forget ToolStripContainer, just use ToolStrip (with button 1).

set

toolStrip1.Dock = DockStyle.None;
toolStrip1.AutoSize = true 
+1
source

Source: https://habr.com/ru/post/1748354/


All Articles