/// <summary> /// Carga Dominios relacionados entre al objeto _RelatedDomains que esta bindiado a la grilla /// </summary> void Populate(out Exception ex) { ex = null; try { _CategoryList = FwkMembership.GetAllCategories(frmAdmin.Provider.Name); _CategoryTreeList = CategoryTreeList.Retrive_CategoryTreeList(_CategoryList); } catch (Exception err) { err.Source = "Origen de datos"; ex = err; } }
public override void Initialize() { //txtRuleName.Focus(); using (new WaitCursorHelper(this)) { _AllRuleList = FwkMembership.GetRulesAuxList(frmAdmin.Provider.Name); fwkAuthorizationRuleBindingSource.DataSource = _AllRuleList; grdAllRules.RefreshDataSource(); _CategoryList = FwkMembership.GetAllCategories(frmAdmin.Provider.Name); _CategoryTreeList = CategoryTreeList.Retrive_CategoryTreeList(_CategoryList); treeList1.BeginUnboundLoad(); this.categoryTreeBindingSource.DataSource = _CategoryTreeList; treeList1.RefreshDataSource(); treeList1.EndUnboundLoad(); treeList1.ExpandAll(); moveCursor = new Cursor(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("Fwk.Security.Admin.Resources.move_16.ico")); } }