Exemplo n.º 1
0
        private void Create_Click(object sender, RoutedEventArgs e)
        {
            AdminCreateOrChange wind = new AdminCreateOrChange();

            wind.ShowDialog();
            Refresh();
        }
Exemplo n.º 2
0
 private void Change_Click(object sender, RoutedEventArgs e)
 {
     if (ResSet.SelectedItem != null)
     {
         USERS user = (USERS)ResSet.SelectedItem;
         AdminCreateOrChange wind = new AdminCreateOrChange(user);
         wind.ShowDialog();
         Refresh();
     }
 }