public Button(string Text, ButtonStyle Style) : this(Style) { this.Text = Text; }
public Button(ButtonStyle Style) { this._Style = Style; }
/// <summary> /// Adds a button the the right of the titlebar of the form. Buttons will have no text on them and will be distinguishable only by style. /// </summary> public Button AddTitlebarButton(ButtonStyle Style, Control Client) { Button b = new Button(Style); if (Client != null) { b.Client = Client; } this.AddTitlebarItem(b, this._Style.TitleBarButtonWidth); return b; }