예제 #1
0
        public void OpenEbook(string bookName)
        {
            IEBook book = null;

            eBooks.TryGetValue(bookName, out book);
            book.show();
        }
예제 #2
0
 public void show()
 {
     if (eBook == null)
     {
         eBook = new RealEBook(fileName);
     }
     eBook.show();
 }