예제 #1
0
 private void CreateUser()
 {
     UserEditView v = new UserEditView();
     v.ShowDialog();
     LoadUsers();
 }
예제 #2
0
 private void EditUser()
 {
     if (dgUsers.SelectedItem == null)
         return;
     UserEditView v = new UserEditView((dgUsers.SelectedItem as admin_unit).id);
     v.ShowDialog();
     LoadUsers();
 }