private void InitNewAttrLstData() { PLReference reference = new PLReference(); if (this.b_isLocalhost) { string userOption = ""; userOption = (string)ClientData.GetUserOption(ClientData.LogonUser.Oid + this.g_SaveOid.ToString() + "_def"); this.InitLocalDefAttr(userOption); } else { this.al_NewAttr = reference.GetSortAttrLst(this.g_SaveOid); } }
private void SetFolder() { this.myFolder = new DEResFolder(); this.myFolder.Oid = this.g_ClsOid; this.myFolder.ClassOid = this.g_ClsOid; this.myFolder.ClassName = this.className; ArrayList clsTreeCls = new ArrayList(); clsTreeCls = new PLReference().GetClsTreeCls(this.g_ClsOid); if (clsTreeCls.Count > 0) { DEDefCls cls = (DEDefCls)clsTreeCls[0]; this.myFolder.Filter = cls.FILTER; this.myFolder.FilterString = cls.FILTERSTRING; this.myFolder.FilterValue = cls.FILTERVALUE; } }