Chapter 23. Gathering User Input

After completing this chapter, you will be able to:

  • Create menus for Microsoft Windows Presentation Foundation (WPF) applications by using the Menu and MenuItem classes.

  • Perform processing in response to menu events when a user clicks a menu command.

  • Create context-sensitive pop-up menus by using the ContextMenu class.

  • Manipulate menus through code, and create dynamic menus.

  • Use Windows common dialog boxes in an application to prompt the user for the name of a file.

  • Build WPF applications that can take advantage of multiple threads to improve responsiveness.

In Chapter 22 you saw how to create a simple WPF application made up of a selection of controls and events. Many professional Microsoft Windows–based applications ...

Get Microsoft® Visual C#® 2010 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.