Esempio n. 1
0
 public void setHand(HandData hand)
 {
     removeHand();
     handUC          = new HandUC();
     handUC.Location = new Point(5, 18);
     handUC.setCard(hand);
     Controls.Add(handUC);
 }
Esempio n. 2
0
        public void setHands(List <HandData> lstHand)
        {
            removeHand();
            int dist = 40;
            int x    = 0;
            int y    = 0;

            foreach (HandData hand in lstHand)
            {
                HandUC handUC = new HandUC();
                handUC.Location = new Point(x, y);
                handUC.setCard(hand);
                Controls.Add(handUC);
                x += dist;
            }
        }