Chapter 21. Working with Menus and Dialog Boxes

After completing this chapter, you will be able to:

  • Create and edit menus for Windows Forms applications.

  • Use the MenuStrip and ContextMenuStrip controls.

  • Respond to menu events for performing processing when a user clicks a menu command.

  • Manipulate menus programmatically and create dynamic menus.

  • Create context-sensitive pop-up menus.

  • Use common dialog boxes in your applications to prompt the user for the names of files and printers.

  • Send documents to a printer.

In Chapter 20, you saw how to create a simple Windows Forms application that used a selection of controls and events. Many professional Microsoft Windows applications also provide menus containing commands and options, giving the user the ability ...

Get Microsoft® Visual C#® 2005 Step by Step 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.