Beispiel #1
0
 public Button(string Text, ButtonStyle Style)
     : this(Style)
 {
     this.Text = Text;
 }
Beispiel #2
0
 public Button(ButtonStyle Style)
 {
     this._Style = Style;
 }
Beispiel #3
0
 /// <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;
 }