在运行时不显示某些项目 [英] not display some item in run time
本文介绍了在运行时不显示某些项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有3个菜单项和2个按钮.但是当启动调试(按F5)时,我看不到1个按钮和2个菜单项.怎么了???请帮我.我使用vb.net
解决方案
一种可能是
MenuItem
和Button的Visible
属性可能已设置为False
.
1.正如ProEnggSoft在他的回答中提到的那样,这些隐藏项目的visible
属性可能设置为false.
2.研究启动逻辑:构造函数等...
3.选择一个隐藏的按钮,并在整个项目中搜索它的名称,以查看它是否已被某些代码片段所插入.
附注:您的问题非常不清楚.考虑阅读此 [ ^ ].
也许您应该在再次启动调试之前删除debug文件夹中的所有文件.
hi. im design new windows form using vb.net
there have 3 menuitems and 2 buttona. but when start debug(press F5) i cant see 1 button and 2 menu items. whats wrong??? please help me. im using vb.net
解决方案
One possibility could be
theVisible
property ofMenuItem
and Button might have been set toFalse
.
1. Probablyvisible
property of those hidden items are set to false, as ProEnggSoft mentioned in his answer.
2. Investigate startup logic: constructors, etc...
3. Pick a button that is hidden and search for it''s name throughout the project to see if it has been in-visible
ed by some code fragment.
p.s.: Your question is very unclear. Consider reading this[^].
maybe you should delete all the files at debug''s folder before you start debug again.
这篇关于在运行时不显示某些项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文