public void OpenEbook(string bookName) { IEBook book = null; eBooks.TryGetValue(bookName, out book); book.show(); }
public void show() { if (eBook == null) { eBook = new RealEBook(fileName); } eBook.show(); }