Ejemplo n.º 1
0
 private void btn_AboutBook_Click(object sender, EventArgs e)
 {
     if (lbBooks.SelectedItem == null)
     {
         MessageBox.Show("Please select a book to show detail about it.");
     }
     else
     {
         AboutBookForm aboutBookForm = new AboutBookForm(lbBooks.SelectedItem as Book);
         aboutBookForm.Show();
     }
 }
Ejemplo n.º 2
0
        private void btn_AboutBook_Click(object sender, EventArgs e)
        {
            AboutBookForm aboutBookForm = new AboutBookForm(RL.BookCopy.Book);

            aboutBookForm.Show();
        }