Initial winforms content migrated (#18)

* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
This commit is contained in:
Andy De George
2020-09-01 16:26:21 -07:00
committed by GitHub
parent 1a27c9b107
commit c0ba284473
1557 changed files with 129980 additions and 13 deletions
@@ -0,0 +1,38 @@
---
title: "Button Control"
ms.date: "03/30/2017"
helpviewer_keywords:
- "buttons"
- "Button control [Windows Forms]"
ms.assetid: d38bc40c-8040-4f19-9e88-2c665b0ab80b
---
# 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
[Button Control Overview](button-control-overview-windows-forms.md)
Explains what this control is and its key features and properties.
[How to: Respond to Windows Forms Button Clicks](how-to-respond-to-windows-forms-button-clicks.md)
Explains the most basic use of a button on a Windows Form.
[How to: Designate a Windows Forms Button as the Accept Button](how-to-designate-a-windows-forms-button-as-the-accept-button.md)
Explains how to designate a `Button` control to be the accept button, also known as the default button.
[How to: Designate a Windows Forms Button as the Cancel Button](how-to-designate-a-windows-forms-button-as-the-cancel-button.md)
Explains how to designate a `Button` control to be the cancel button, which is clicked whenever the user presses the ESC key.
[Ways to Select a Windows Forms Button Control](ways-to-select-a-windows-forms-button-control.md)
Lists methods of selecting a button.
Also see [How to: Designate a Windows Forms Button as the Accept Button Using the Designer](designate-a-wf-button-as-the-accept-button-using-the-designer.md) and [How to: Designate a Windows Forms Button as the Cancel Button Using the Designer](designate-a-wf-button-as-the-cancel-button-using-the-designer.md).
## Reference
<xref:System.Windows.Forms.Button> class
Describes this class and has links to all its members.
## Related Sections
[Controls to Use on Windows Forms](controls-to-use-on-windows-forms.md)
Provides a complete list of Windows Forms controls, with links to information on their use.
Also see [User Input to Dialog Boxes](https://docs.microsoft.com/previous-versions/visualstudio/visual-studio-2010/1s9ws53w(v=vs.100)) and [How to: Close Dialog Boxes and Retain User Input](https://docs.microsoft.com/previous-versions/visualstudio/visual-studio-2010/65ad5907(v=vs.100)).