Exemplo n.º 1
0
 private void FrmUserGroups_Load(object sender, EventArgs e)
 {
     LoadGroups();
     ShowFirst();
     DTSecurity        = CSecurity.GetFormSecurity(this.Name);
     BtnNew.Enabled    = AllowSave();
     BtnSave.Enabled   = AllowEdit();
     BtnDelete.Enabled = AllowDelete();
 }
Exemplo n.º 2
0
 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();
 }