Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使表单上的按钮表现得像工具条上的按钮?
我想要一个菜单类型的列表下来。我尝试使用 toolStripContainer,但很难操纵它以使其仅作为一个按钮。
除了将带有一个按钮的工具条放入工具条容器中之外,还有更简单的方法吗?
谢谢。
忘记 ToolStripContainer,只需使用 ToolStrip(带有 1 个按钮)。
放
toolStrip1.Dock = DockStyle.None; toolStrip1.AutoSize = true