Beispiel #1
0
 public Button(string text, string color = "secondary")
 {
     action     = new Button_obj(text);
     this.color = color;
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="action">Color only for text action</param>
 /// <param name="color">primary - blue, secondary - white, negative - red, positive - green </param>
 public Button(Button_obj action, string color = "secondary")
 {
     this.action = action;
     this.color  = color;
 }