Ejemplo n.º 1
0
        /// <summary>
        /// Print list of images
        /// </summary>
        /// <param name="cardList"></param>
        public static void PrintProxyDeck(List <int> cardList)
        {
            PrintDeck pd = new PrintDeck();

            pd.proxyCardList = cardList;
            pd.PrintProxyDeck();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Print list of cards without image
        /// </summary>
        /// <param name="cardList"></param>
        public static void PrintDeckList(List <Card> cardList)
        {
            PrintDeck pd = new PrintDeck();

            pd.deckCardList = cardList;
            pd.PrintDeckList();
        }
Ejemplo n.º 3
0
 private void deckListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (tabControl1.SelectedTab.Controls[0] is Deck)
     {
         Deck deck = (Deck)tabControl1.SelectedTab.Controls[0];
         PrintDeck.PrintDeckList(deck.GenerateDeckList());
     }
 }