表单上的主菜单 [英] Main menu on a form

查看:67
本文介绍了表单上的主菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个始终在屏幕上带有菜单的窗体的窗体.在工具箱上,我看到菜单和工具栏,但是我看不到MainMenu控件?还是正在寻找其他东西?

在此先感谢您.

I am trying to create a form thaT WOULD ALWAYS BE ON THE BACKGROUND of the screen with menus on it. On the ToolBox i see Menus & toolbars, But i cant see the MainMenu control? or am looking for something else?

Thanks in advance.

推荐答案

只需使用MenuStrip.

祝您好运!
Just use the MenuStrip.

Good luck!


将您要设置为背景的表单的IsMdiContainer属性设置为True.
它称为父窗体,所有其他窗体将为其子窗体.
但是您必须为每个子窗体的MdiParent属性分配值. :)
Set the IsMdiContainer property to True of the form you want to set as background.
It is called Parent form, all other forms will be its child forms.
But you have to assign value to MdiParent property of each child form. :)


您是否有一个制作父表单和子表单的小教程.和一般有趣的图形界面....非常感谢
Do you have a small tutorial for making parent forms and child forms. and general intresting graphical interfaces.... Thanks alot


这篇关于表单上的主菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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