Ejemplo n.º 1
0
 private void LibrarianEditButton_Click(object sender, RoutedEventArgs e)
 {
     if (DataGridLibrarian.SelectedItems.Count > 0)
     {
         Users        user         = (Users)DataGridLibrarian.SelectedItems[0];
         AddingWindow addingWindow = new AddingWindow(user, "Библиотекарь");
         addingWindow.Show();
     }
 }
Ejemplo n.º 2
0
 private void ReaderEditButton_Click(object sender, RoutedEventArgs e)
 {
     if (DataGridReader.SelectedItems.Count > 0)
     {
         Users        user         = (Users)DataGridReader.SelectedItems[0];
         AddingWindow addingWindow = new AddingWindow(user, "Читатель");
         addingWindow.Show();
     }
 }
Ejemplo n.º 3
0
        private void AddingLibrarianButton_Click(object sender, RoutedEventArgs e)
        {
            AddingWindow addingWindow = new AddingWindow("Библиотекарь");

            addingWindow.Show();
        }
Ejemplo n.º 4
0
        private void AddingReaderButton_Click(object sender, RoutedEventArgs e)
        {
            AddingWindow addingWindow = new AddingWindow("Читатель");

            addingWindow.Show();
        }