示例#1
0
 private void Edit_Click(object sender, RoutedEventArgs e)
 {
     if (datagrid.SelectedItems.Count > 0)
     {
         Users             users             = (Users)datagrid.SelectedItems[0];
         EditManagerWindow editManagerWindow = new EditManagerWindow(users);
         editManagerWindow.Show();
     }
 }
示例#2
0
        private void Add_Click(object sender, RoutedEventArgs e)
        {
            EditManagerWindow editManagerWindow = new EditManagerWindow();

            editManagerWindow.Show();
        }