/// <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(); }
/// <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(); }
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()); } }