vb.net创建菜单栏(一)

 时间:2024-10-12 01:25:51

Creating menusCreating submenusCreating context menus

vb.net创建菜单栏(一)

工具/原料

visual studio 2015

了解菜单

1、Images按钮,如下图:Nearly everyone is familiar with the images on the menus in applications such as Microsoft Outlook or Visual Studio 2015. In earlier versions of Visual Basic, developers were unable to create menu items with images without doing some custom programming or purchasing a third-party control. Visual Basic has come a long way and now provides an Image property for a menu item that makes adding an image to your menu items a breez

vb.net创建菜单栏(一)

2、Access Keys加速快捷键,如下图An access key (also known as an accelerator key) enables you to navigate the menus using the Alt key and a letter that is underlined in the menu item. When the access key is pressed, the menu appears on the screen, and the user can navigate through it using the arrow keys or the mouse.

vb.net创建菜单栏(一)

3、Shortcut Keys如下图Shortcut keys enable you to invoke the menu item without displaying the menus at all. Shortcut keys usually consist of a control key and a letter, such as Ctrl+X to cut text.

vb.net创建菜单栏(一)

4、Check Marks,如下图A che罕铞泱殳ck mark symbol can be placed next to a menu item in lieu of an image, typically to indicate that the menu item is being used. For example, if you click the View menu in Visual Studio 2015 and then select the Toolbars menu item, you see a submenu that has many other submenu items, some of which have check marks. The submenu items that have check marks indicate the toolbars that are currently displayed.

vb.net创建菜单栏(一)

创建菜单

1、创建菜单的界面如下图所示:

vb.net创建菜单栏(一)

2、菜单的主要属性如下图所示;

vb.net创建菜单栏(一)
  • 剑侠世界3妙笔生花之集字成锦活动怎么玩
  • 老母鸡炖冬虫夏草的做法
  • Python GET、POST请求使用
  • 无悔华夏渔樵问答5月29日答案最新
  • 怎样做茄子菜
  • 热门搜索
    桂林阳朔旅游景点 婺源旅游地图 旅游人类学 新疆南疆旅游景点 重庆周边旅游景点 阿姆斯特丹旅游 张家界自助旅游 拉拉勾旅游网 蓟县旅游景点 出游客旅游网