Esempio n. 1
0
        private void OnModifyUserClick(object sender, RoutedEventArgs e)
        {
            ModifyUserPage modifyUser = new ModifyUserPage(_patronID);

            Close();
            modifyUser.ShowDialog();
        }
 private void OnModifyLibrarian(object sender, RoutedEventArgs e)
 {
     if (LibrariansTable.SelectedItem != null)
     {
         AdminUserView  selectedLibrarian = LibrariansTable.SelectedItem as AdminUserView;
         ModifyUserPage modifyLibrarian   = new ModifyUserPage(selectedLibrarian.LibrarianID);
         modifyLibrarian.ShowDialog();
         UpdateTable();
     }
 }