public void AddUser()
 {
     Focus();
     var userEditForm = new UserEditForm(_feature, null);
     userEditForm.ShowDialog();
     ReloadDatabase();
 }
 public void EditUser()
 {
     Focus();
     var selectedUser = GetSelectedUser();
     if (selectedUser != null)
     {
         var userEditForm = new UserEditForm(_feature, selectedUser);
         userEditForm.ShowDialog();
         ReloadDatabase();
     }
 }