C# 菜单条设计器
我不确定这是什么时候发生的,但是当我尝试在程序中(在 VS 设计器中)编辑菜单条时,我注意到菜单项必须分组或合并。就像:
File Edit Format Insert ...
我不能在设计器中单击每个菜单项并向其添加子项,而是将它们全部分组在一起,因此我无法单独编辑菜单项,这非常痛苦。
我找不到与此相关的任何属性,那么如何在设计器中取消菜单项的分组呢?
I'm not sure when this happened but when I was trying to edit a menustrip in my program (in the VS designer), I noticed that the menu items had to be grouped or merged. Like:
File Edit Format Insert ...
Instead of being able to click each menu item and add sub-items to them in the designer, they all were grouped together so I couldn't edit the menu items separately, it's quite painful.
I couldn't find any properties related to this, so how could I ungroup the menu items in the designer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没关系,事实证明设计师变得很奇怪。当我想向主菜单条添加一个事件时,什么也没发生。重启VS似乎已经解决了。还是很奇怪。
Nevermind, it turns out the designer became weird. When I wanted to add an event to the main menustrip, nothing even happened. Restarting VS seemed to have fixed it. Still quite odd.