Exemple #1
0
        private void BTN_Synopsis_Click(object sender, RoutedEventArgs e)
        {
            AddBookSummary addSummaryDlg = new AddBookSummary();

            addSummaryDlg.Closed += new EventHandler(GetSynopsisFromDialog);
            addSummaryDlg.Show();
        }
Exemple #2
0
        private void GetSynopsisFromDialog(object sender, EventArgs e)
        {
            AddBookSummary addSummaryDlg = sender as AddBookSummary;

            if (!addSummaryDlg.Cancelled)
            {
                ThisBook.Summary = addSummaryDlg.Summary;
            }
        }
Exemple #3
0
        private void GetSynopsisFromDialog(object sender, EventArgs e)
        {
            AddBookSummary addSummaryDlg = sender as AddBookSummary;

            newBook.Summary = addSummaryDlg.Summary;
        }