Exemplo n.º 1
0
 public void SetButtons(string validate, string no = null, string third = null)
 {
     buttonValidate.Text = validate;
     if (no == null)
     {
         buttonNo.Hide();
     }
     else
     {
         buttonNo.Text = no;
         buttonNo.Show();
     }
     if (third == null)
     {
         buttonThird.Hide();
     }
     else
     {
         buttonThird.Text = third;
         buttonThird.Show();
     }
 }