O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Section 15.2 Menus

• Menus provide groups of related commands for Windows Forms apps.

• An expanded menu lists menu items and submenus.

• A menu that contains a menu item is called that menu item’s parent menu. A menu item that contains a submenu is considered to be the parent of that submenu.

• All menus and menu items can have shortcut keys.

• Some menu items display checkmarks, indicating that multiple options on the menu can be selected at once.

• The MenuStrip control is used to create menus in a GUI.

• Top-level menus and their menu items are represented using type ToolStripMenuItem.

• To create an access shortcut, type an ampersand (&) before the character to be underlined.

• To add other shortcut keys, set the ShortcutKeys

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required