private void ChooseProm(object sender, EventArgs e) { Button btn = (Button)sender; promPiece.PromotePawn(btn.Tag.ToString()[0]); foreach (Button b in Spr) { b.Visible = false; } notifBoard.Visible = false; Spr = null; promPiece = null; }
private void ChooseProm(object sender, EventArgs e) { Button btn = (Button)sender; promPiece.PromotePawn(btn.Tag.ToString()[0]); foreach (Button b in Spr) { b.Visible = false; } notifBoard.Visible = false; Spr = null; promPiece = null; }