Exemplo n.º 1
0
 /* This method will load the card pictures (if available) */
 protected virtual void LoadCardPictures()
 {
     if (cardListToDisplay != null)
     {
         // Generate the card picture boxes for each card in the hand
         foreach (Card c in cardListToDisplay)
         {
             CardPictureBox pictureBox = new CardPictureBox(c);
             cardPictures.Add(pictureBox);
         }
     }
 }
Exemplo n.º 2
0
 /* This method will load the card pictures (if available) */
 protected virtual void LoadCardPictures()
 {
     if (cardListToDisplay != null)
     {
         // Generate the card picture boxes for each card in the hand
         foreach (Card c in cardListToDisplay)
         {
             CardPictureBox pictureBox = new CardPictureBox(c);
             cardPictures.Add(pictureBox);
         }
     }
 }