Menus
Menus are one of the primary means of selecting a program's available options. They're similar to controls, but their function is specialized to invoking selected features of a program. Table 16.2 shows how to create and use Windows Forms Menus.
Menu Control | What It Does |
---|---|
ContextMenu | Menus that are invoked by right-clicking a control. |
MainMenu | Resides at the top of a form, below its title bar. It is the root menu of an entire menu hierarchy. |
MenuItem | Sub-menus of a MainMenu and other MenuItems. They form the branches and nodes of the menu hierarchy. MenuItems are used to invoke some capability of a program. |
As a part of any standard GUI implementations, Menus are very straightforward and easy to implement. ...
Get C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.