Button Constructor ()
.NET Framework (current version)
Initializes a new instance of the Button class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example creates a Button, sets its DialogResult property to the OK value of DialogResult, and adds it to a Form.
.NET Framework
Available since 1.1
Available since 1.1
Show: