Dialog Boxes
When an application needs to prompt a user for input, a dialog box is often used. Several dialog box components are provided within the Windows Forms library, or you can create a custom dialog box, if necessary.
Common Dialog Boxes
The Windows Forms library provides several ready-made dialog boxes for Windows applications, including the following:
ColorDialog— Displays a list of colors and returns a property containing the selected color
FontDialog— Enables the user to select a font and set its properties, such as size, style, and special effects
OpenFileDialog— Enables the user to browse files and folders on the computer and select one or more files
PageSetupDialog— Enables the user to select various page-layout settings
PrintDialog— ...
Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) 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.