示例#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();
     }
 }
示例#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();
            }
        }