Udostępnij za pośrednictwem


Button Control (Windows Forms)

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

Topic Location
How to: Designate a Windows Forms Button as the Cancel Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Accept Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Cancel Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Accept Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Cancel Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Accept Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Cancel Button Using the Designer Windows Forms Controls
How to: Designate a Windows Forms Button as the Accept Button Using the Designer Windows Forms Controls

Reference

  • Button class
    Describes this class and has links to all its members.
Topic Location
User Input to Dialog Boxes Windows Forms Programming
How to: Close Dialog Boxes and Retain User Input Windows Forms Programming
User Input to Dialog Boxes Windows Forms Programming
How to: Close Dialog Boxes and Retain User Input Windows Forms Programming
User Input to Dialog Boxes Windows Forms Programming
How to: Close Dialog Boxes and Retain User Input Windows Forms Programming
User Input to Dialog Boxes Windows Forms Programming
How to: Close Dialog Boxes and Retain User Input Windows Forms Programming