菜单条菜单不可见 [英] Menu strip menu not visible
本文介绍了菜单条菜单不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
i开始在VB.NET中修改我在Windows应用程序上的旧项目。
i添加了一个menustripitem,但是当我运行项目时它看不见,甚至虽然enable和visible属性为true。
Hello,
i started modifying my old project on windows application in VB.NET.
i added one menustripitem, but when i run the project it does not visible, even though enable and visible property are true.
推荐答案
除菜单外是否还有其他控件?你有没有评论过构造函数中的 InitializeComponent()事件。
你能用你的.vb代码吗?
Is there any control other than menu displayed ? have you commented your InitializeComponent() event which is in constructor.
can you show use the your .vb code ?
Just进入你要显示菜单条的表格属性
u将获得menustrip的一个选项,选择menustrip的名称你想要展示..
i希望这会对你有所帮助
Just go in the property of the form in which you want to show the menu strip
u will get one option of "menustrip" in that select the name of the "menustrip" you want to show..
i hope this will help you
只需删除在bin\debug中创建的所有exe文件, bin \ release,obj\debug,obj \ release
和申请将正常工作
Just delete all exe files created in bin\debug, bin\release,obj\debug, obj\release
and application will work fine
这篇关于菜单条菜单不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文