O'Reilly logo

MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET by MCSD Amit Kalani - MCAD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dialog Boxes

A dialog box is used to prompt the user for input. The application can then use the user input for its own processing. You can either use one of the existing dialog box components provided by the Windows Forms library or you can create a dialog box to meet your custom application requirements. The following sections cover both of these scenarios.

Common Dialog Boxes

The Windows Forms library provides the following dialog box classes that are ready to use in Windows applications:

  • ColorDialog Displays a list of colors and returns a property that contains the color selected by user.

  • FontDialog Displays a dialog box that allows the user to select a font and other text properties, such as size, style, and special effects.

  • OpenFileDialog ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required