예제 #1
0
        public ViewDeck(string fileName)
        {
            InitializeComponent();
            reader = new CardReader();
            reader.readCollection(fileName);

            foreach (Card card in reader.getCardList())
            {
                Console.WriteLine(card.getFrontText() + " " + card.getBackText());
            }
        }
예제 #2
0
 public ViewDeck()
 {
     InitializeComponent();
     reader = new CardReader();
 }