private void Btn_SeriesAddSeries_Click(object sender, RoutedEventArgs e) { AddSeriesToAuthorDlg addSeriesDlg = new AddSeriesToAuthorDlg(); addSeriesDlg.Closed += new EventHandler(AddSeriesClosed); addSeriesDlg.Show(); }
private void Btn_AuthorsAddSeries_Click(object sender, RoutedEventArgs e) { if (_selectedAuthor != null) { AddSeriesToAuthorDlg addSeries = new AddSeriesToAuthorDlg(); addSeries.SelectedAuthor = _selectedAuthor; addSeries.Show(); } else { AddSeriesToAuthorDlg addSeries = new AddSeriesToAuthorDlg(); addSeries.Show(); } }