예제 #1
0
		private void imgImage_MouseUp(object sender, MouseButtonEventArgs e)
		{
			OpenFileDialog ofd = new OpenFileDialog();
			ofd.ShowDialog();
			string tmpfile = ofd.FileName;
			eBook tmpEbook = new eBook(tmpfile);
			setContentFromEBook(tmpEbook);
		}
예제 #2
0
		public void setContentFromEBook(eBook ebook)
		{
			setTitle(ebook.getTitle());
			setImage(ebook.getBookCover());
		}