private void FrmUserGroups_Load(object sender, EventArgs e) { LoadGroups(); ShowFirst(); DTSecurity = CSecurity.GetFormSecurity(this.Name); BtnNew.Enabled = AllowSave(); BtnSave.Enabled = AllowEdit(); BtnDelete.Enabled = AllowDelete(); }
private void FrmUsers_Load(object sender, EventArgs e) { CDB.FillLookUpEdit(LUGroup, "TblUserGroups", "Name", "ID"); LoadUsers(); ShowFirst(); DTSecurity = CSecurity.GetFormSecurity(this.Name); BtnNew.Enabled = AllowSave(); BtnSave.Enabled = AllowEdit(); BtnDelete.Enabled = AllowDelete(); }