• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Menus

There are many ways to implement menus in a computer application. In Chapter 9, Complex Layouts, we discussed navigation panels, which are a type of menu, and even property sheets can be thought of as a menu of sorts. But in this section we're referring to the classic menu displayed at the top of a Form or when the user right-clicks a control. These two types are all but ubiquitous in modern applications, and as we'll see, the .NET Framework makes it almost trivially easy to implement.

The items on “classical” menus are most often commands, but can also be state settings. You can think of the latter as a special kind of command—“make the selected text bold,” for example. These state-setting commands can be independent or interdependent, and the menu display should reflect this.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint