Button Control (Windows Forms)
Visual Studio .NET 2003
The Windows Forms Button control allows the user to click it to perform an action. The Button control can display both text and images. When the button is clicked, it looks as if it is being pushed in and released.
In This Section
- Introduction to the Windows Forms Button Control
- Explains what this control is and its key features and properties.
- Designating a Windows Forms Button As the Accept Button
- Describes how to create an accept button on a Windows Form.
- Designating a Windows Forms Button As the Cancel Button
- Describes how to create a cancel button on a Windows Form.
- Responding to Windows Forms Button Clicks
- Explains the most basic use of a button on a Windows Form.
- Ways to Select a Windows Forms Button Control
- Lists methods of selecting a button.
- User Input to Dialog Boxes
- Describes the property that stores the information created when a dialog box is closed.
- Closing Dialog Boxes and Retaining User Input
- Gives directions for working with the property that stores the information created when a dialog box is closed.
- Controls You Can Use On Windows Forms
- Provides a complete list of Windows Forms controls, with links to information on their use.
- Button Class
- Describes this class and has links to all its members.