Ejemplo n.º 1
0
        private void UpdateCardDataDisplay(Card newSelectedCard)
        {
            cardHeader.Text = newSelectedCard.ToFullString();

            dataCardName.Text   = newSelectedCard.ToFullString();
            dataCardSuit.Text   = newSelectedCard.SuitToString();
            dataCardValue.Text  = newSelectedCard.ValueToString();
            dataCardPlayed.Text = newSelectedCard.GetPlayed().ToString();

            dataCardName.Visible   = true;
            dataCardSuit.Visible   = true;
            dataCardValue.Visible  = true;
            dataCardPlayed.Visible = true;
        }