示例#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();
 }