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

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

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

            newBook.Summary = addSummaryDlg.Summary;
        }