Exemplo n.º 1
0
 public void SetInsertTextButtonAttributes(string buttonText, Color?buttonColor = null)
 {
     if (buttonText != null)
     {
         button2.Text = buttonText;
     }
     if (buttonColor.HasValue)
     {
         button2.ChangeButtonColor(buttonColor.Value);
     }
 }