Constructor Button
Button(Control)
Initializes a new instance of the Button class with the specified parent control.
public Button(Control parent)
Parameters
parent
ControlParent of the control.
Button()
Initializes a new Button instance.
public Button()
Button(string)
Initializes a new Button instance with the specified text.
public Button(string text)
Parameters
text
string
Button(Control, string, Action?)
Initializes a new instance of the Button class with the specified text, click action and parent control.
public Button(Control parent, string text, Action? clickAction = null)
Parameters
Button(string, Action)
Initializes a new instance of the Button class with the specified text and click action.
public Button(string text, Action clickAction)