public ViewDeck(string fileName) { InitializeComponent(); reader = new CardReader(); reader.readCollection(fileName); foreach (Card card in reader.getCardList()) { Console.WriteLine(card.getFrontText() + " " + card.getBackText()); } }
public ViewDeck() { InitializeComponent(); reader = new CardReader(); }