Beispiel #1
0
 private void addAuthorBtn_Click(object sender, RoutedEventArgs e)
 {
     var dlg = new AddAuthorWindow(ref _db);
     dlg.ShowDialog();
     if (dlg.isClosedWithSave)
     {
         authorSearchBox.Text = String.Empty;
         showAuthorsList();
     }
 }
Beispiel #2
0
        private void addAuthorBtn_Click(object sender, RoutedEventArgs e)
        {
            var dlg = new AddAuthorWindow(ref _db);

            dlg.ShowDialog();
            if (dlg.isClosedWithSave)
            {
                authorSearchBox.Text = String.Empty;
                showAuthorsList();
            }
        }