关于C#.net中mainmenu的显示 [英] Regarding the display of mainmenu in C#.net

查看:100
本文介绍了关于C#.net中mainmenu的显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在设计中给出了主菜单,但是在执行表单时未显示.如何解决此问题?

I have given the mainmenu in design,but its not displaying on execution of the form.How can I solve this?

推荐答案

尝试将其他控件置于表格并检查,是否显示?如果未显示任何控件,则不会调用" InitializeComponent()"方法(存在于表单构造函数中).
try to put other controls on form and check, is it displaying or not ? if it not displaying any controls then your "InitializeComponent()" method (exist in form constructor) not get called.


这篇关于关于C#.net中mainmenu的显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆