private void TB_SelectAuthorFirstName_KeyUp(object sender, KeyEventArgs e) { SelectAuthorDlg selectAuthor = new SelectAuthorDlg(); selectAuthor.Closed += new EventHandler(SelectAuthorClosed); selectAuthor.TB_SelectAuthorFirstName.Text = TB_SelectAuthorFirstName.Text; selectAuthor.Show(); }
private void bypassAuthorSelectionIfAuthorSelected(object sender, RoutedEventArgs e) { if (newBook.AuthorInfo == null) { SelectAuthorDlg selectAuthor = new SelectAuthorDlg(); selectAuthor.Closed += new EventHandler(SelectAuthorClosed); selectAuthor.Show(); } else { SetAuthorNameValues(); } }
private void bypassAuthorSelectionIfAuthorSelected(object sender, RoutedEventArgs e) { if (_author == null) { SelectAuthorDlg selectAuthor = new SelectAuthorDlg(); selectAuthor.Closed += new EventHandler(SelectAuthorClosed); selectAuthor.Show(); } else { TxtBx_SeriesAuthorFirstName.Text = _author.FirstName; TxtBx_SeriesAuthorMiddleName.Text = _author.LastName; } }