Using the MainMenu Control

The MainMenu control is added to the first form in a Pocket PC Windows application by default, but you will have to add it manually to any additional forms. Windows CE supports the MainMenu control but does not add it to any forms automatically. As mentioned, in a Pocket PC application, if you want the user to be able to choose to use the SIP or to choose which SIP to use, you will need to add a MainMenu or ToolBar control to the form.

To add menu items to the MainMenu control, click the menu bar and type in the menu items your application requires. Figure 4-5 shows the MainMenu control in Windows Forms Designer.

MainMenu control in Windows Forms Designer.

Figure 4-5. MainMenu ...

Get Microsoft® .NET Compact Framework (Core Reference) 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.