Windows has many dialogs that are part of the basic operating system. These dialogs prompt the user for extremely common information such as a choice of color, a file folder, a font, and so on. This section provides you with an overview of the stock dialog components available in Windows Forms 2.0. Dialogs are typically used when your application requires some explicit input from the user before it can continue.
The ColorDialog Component
The ColorDialog presents the user with a list of available colors. The user's color choice is then made available as the Color property. This dialog also allows the user to define custom colors.
The FolderBrowserDialog Component
This dialog presents the user with an interface that prompts the user to select a folder. The browser in this dialog allows the user to navigate throughout all configured partitions just as in the standard file explorer.
The FontDialog Component
This dialog prompts the user to select a font from the list of all installed fonts.
The OpenFileDialog Component
This dialog prompts the user to select a file using a browser interface. The file selected is available through the FileName property or the FileNames property if more than one file was selected.
The SaveFileDialog Component
This dialog prompts the user to select a path and a filename that will be used to save data within the current application.