Esempio n. 1
0
        private void BTN_Synopsis_Click(object sender, RoutedEventArgs e)
        {
            AddBookSummary addSummaryDlg = new AddBookSummary();

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

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

            newBook.Summary = addSummaryDlg.Summary;
        }