示例#1
0
        public static void RefreshDisplay(TransparencyPanel panel, IList <Card> hand)
        {
            ClearDisplay(panel);

            if (hand.Count > 0)
            {
                foreach (Card card in hand)
                {
                    panel.Controls.Add(card.getDisplay());
                }
            }
        }
示例#2
0
 /*
  * Controls for filling and clearing the panels that hold the images
  */
 public static void ClearDisplay(TransparencyPanel panel)
 {
     panel.Controls.Clear();
 }