Beispiel #1
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            if (!GlobalFunctions.checkRights("tsmUserGroups", "Create"))
            {
                return;
            }
            UserGroupUI _UserGroup = new UserGroupUI();

            _UserGroup.ParentList = this;
            _UserGroup.ShowDialog();
        }
Beispiel #2
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (!GlobalFunctions.checkRights("tsmUserGroups", "Update"))
     {
         return;
     }
     if (lUserGroupId != null)
     {
         UserGroupUI _UserGroup = new UserGroupUI(dgvUserGroups.CurrentRow.Cells[0].Value.ToString(),
                                                  dgvUserGroups.CurrentRow.Cells[1].Value.ToString(), dgvUserGroups.CurrentRow.Cells[2].Value.ToString());
         _UserGroup.ParentList = this;
         _UserGroup.ShowDialog();
     }
 }