Visually Building a Menu System
To wrap up our look at the Windows Forms visual designer tools and move on to some more illustra-
tive examples, activate the Forms designer window, locate the Toolbox window of Visual Studio
2008, and find the MenuStrip control within the Menus & Toolbars node (see Figure 27-8).
Figure 27-8.
The Toolbox window displays the Windows Forms controls that may be added to your
designer surface.
Drag a MenuStrip control onto the top of your Forms designer. Notice that Visual Studio
responds by activating the menu editor. If you look closely at this editor, you will notice a (very)
small triangle on the top-right of the control. If you click this icon, you will open a context-sensitive
inline editor that allows you to make numerous property settings at once (be aware that many Win-
dows Forms controls have similar inline editors). Just to see an example, click the Insert Standard
Items option, as shown in Figure 27-9.
C H A P T E R 2 7
Do'stlaringiz bilan baham: |