virtual public void LoadOrgList(string _rootDwid) { this.treeList1.Nodes.Clear(); this.treeList1.BeginUpdate(); RootList = ICS_Auth.GetRootDwList(_rootDwid, 1); FindOrgByStr _finder = new FindOrgByStr(_rootDwid); List <SinoOrganize> olist = RootList.FindAll(new Predicate <SinoOrganize>(_finder.FindByID)); olist.Sort(new SinoOrganizeComparer()); foreach (SinoOrganize _dw in olist) { TreeListNode _dwnode = treeList1.AppendNode(null, null); _dwnode.SetValue(this.treeListColumn1, ShowTitle(_dw)); _dwnode.ImageIndex = 1; _dwnode.SelectImageIndex = 0; _dwnode.Tag = _dw; LoadChildNode(_dwnode, _dw); _dwnode.Expanded = true; } this.treeList1.EndUpdate(); _initFinished = true; }