Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Dialog Boxes in Windows Forms 

Dialog boxes are used to interact with the user and retrieve information. In simple terms, a dialog box is a form with its FormBorderStyle enumeration property set to FixedDialog. You can construct your own custom dialog boxes by using the Windows Forms Designer in Visual Studio. Add controls such as Label, Textbox, and Button to customize dialog boxes to your specific needs. The .NET Framework also includes predefined dialog boxes, such as File Open and message boxes, which you can adapt for your own applications. For more information, see Dialog-Box Controls and Components (Windows Forms).

In This Section

How to: Display Dialog Boxes for Windows Forms

Gives directions for showing dialog boxes.

TopicLocation
How to: Retrieve Dialog Box Information Selectively Using Multiple PropertiesWindows Forms Programming
How to: Retrieve Information from the Parent Form of a Dialog BoxWindows Forms Programming
User Input to Dialog BoxesWindows Forms Programming
How to: Retrieve the Result for Dialog BoxesWindows Forms Programming
Walkthrough: Retrieving Dialog Box Information Collectively Using ObjectsWindows Forms Programming
How to: Close Dialog Boxes and Retain User InputWindows Forms Programming
How to: Create Dialog Boxes at Design TimeWindows Forms Programming
How to: Display Message BoxesWindows Forms Programming
How to: Retrieve Dialog Box Information Selectively Using Multiple PropertiesWindows Forms Programming
How to: Retrieve Information from the Parent Form of a Dialog BoxWindows Forms Programming
User Input to Dialog BoxesWindows Forms Programming
How to: Retrieve the Result for Dialog BoxesWindows Forms Programming
Walkthrough: Retrieving Dialog Box Information Collectively Using ObjectsWindows Forms Programming
How to: Close Dialog Boxes and Retain User InputWindows Forms Programming
How to: Create Dialog Boxes at Design TimeWindows Forms Programming
How to: Display Message BoxesWindows Forms Programming
How to: Retrieve Dialog Box Information Selectively Using Multiple Properties
How to: Retrieve Information from the Parent Form of a Dialog Box
User Input to Dialog Boxes
How to: Retrieve the Result for Dialog Boxes
Walkthrough: Retrieving Dialog Box Information Collectively Using Objects
How to: Close Dialog Boxes and Retain User Input
How to: Create Dialog Boxes at Design Time
How to: Display Message Boxes
How to: Retrieve Dialog Box Information Selectively Using Multiple PropertiesWindows Forms Programming
How to: Retrieve Information from the Parent Form of a Dialog BoxWindows Forms Programming
User Input to Dialog BoxesWindows Forms Programming
How to: Retrieve the Result for Dialog BoxesWindows Forms Programming
Walkthrough: Retrieving Dialog Box Information Collectively Using ObjectsWindows Forms Programming
How to: Close Dialog Boxes and Retain User InputWindows Forms Programming
How to: Create Dialog Boxes at Design TimeWindows Forms Programming
How to: Display Message BoxesWindows Forms Programming
How to: Retrieve Dialog Box Information Selectively Using Multiple Properties
How to: Retrieve Information from the Parent Form of a Dialog Box
User Input to Dialog Boxes
How to: Retrieve the Result for Dialog Boxes
Walkthrough: Retrieving Dialog Box Information Collectively Using Objects
How to: Close Dialog Boxes and Retain User Input
How to: Create Dialog Boxes at Design Time
How to: Display Message Boxes

Related Sections

Dialog-Box Controls and Components (Windows Forms)

Lists the predefined dialog box controls.

Changing the Appearance of Windows Forms

Contains links to topics that describe how to change the appearance of Windows Forms applications.

TabControl Control Overview (Windows Forms)

Explains how you incorporate the tab control into a dialog box.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft