Using Built-in Dialog Boxes in Your Application
Several built-in dialog box components are available for use in your C# applications. You can find these components in the Dialogs tab of the Toolbox. When you add components to a Windows form, do don't see them on the form. Instead, they are added to the component tray, underneath the form. The following topics describe the most common built-in dialog boxes.
Topic |
Description |
---|---|
Describes how to use the ColorDialog to apply a color to a Windows form. |
|
Describes how to use the FolderBrowserDialog to display a folder path on a Windows form. |
|
Demonstrates how to use the built-in FontDialog to apply a font to text. |
|
Describes how to save text that is added to a RichTextBox control to a location specified in the SaveFileDialog. |
|
Describes how to display an OpenFileDialog at run time. |
Related Sections
Dialog Boxes (Visual C#)
Includes links to topics that explain how to use dialog boxes in applications that you develop.How to: Retrieve Data from a Dialog Box
Provides procedures that explain how to retrieve data from dialog boxes.Designing a User Interface in Visual C#
Explains how to use the Windows Forms Designer and Toolbox to create user interfaces.Visual C# Guided Tour
Presents a series of lessons that introduce you to the Visual C# Express Edition integrated development environment (IDE), creating your first application, and designing the user interface of an application.