private void showBooksReportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (toEditAuthor != null)
     {
         var booksAuthorsReportForm = new BooksAuthorsReportForm(toEditAuthor);
         booksAuthorsReportForm.ShowDialog();
     }
 }
Beispiel #2
0
        private void showBooksReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var booksAuthorsReportForm = new BooksAuthorsReportForm(publishersDataGridView.CurrentCell.OwningRow.DataBoundItem as PublishingHouses);

            booksAuthorsReportForm.ShowDialog();
        }