且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows 窗体中的标准 Windows 菜单栏

更新时间:2023-12-06 14:35:22

转到您的工具箱,右键单击其中的任意位置并选择选择项目".

Go to your Toolbox, right click anywhere inside and select "Choose Items".

当对话框加载并出现时,向下滚动直到看到 MainMenu.将其添加到工具箱中,您就拥有了一个原生菜单栏!

When the dialog loads and appears, scroll down til you see MainMenu. Add that to the toolbox, and you've got yourself a native menu bar!