void Start(string H) { switch (H) { case "H": Butt.Hide(); PB.Hide(); break; case "S": Butt.Show(); PB.Show(); break; default: break; } }