示例#1
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();
 }
示例#2
0
 private void FrmResetPassword_Load(object sender, EventArgs e)
 {
     CDB.FillLookUpEdit(LUUsers, "TblUsers", "UserName", "ID");
 }
 private void FrmUserGroupForms_Load(object sender, EventArgs e)
 {
     CDB.FillLookUpEdit(LUGroup, "TblUserGroups", "Name", "ID");
 }