private void LoadChildGuideLine(MD_GuideLine _fgl, TreeListNode _fnode) { using (MetaDataQueryServiceClient _msc = new MetaDataQueryServiceClient()) { List<MD_GuideLine> _rootGuideLineList = _msc.GetGuideLineListByFatherID(_fgl.ID).ToList<MD_GuideLine>(); foreach (MD_GuideLine _gl in _rootGuideLineList) { TreeListNode _newnode = treeList1.AppendNode(null, _fnode); _newnode.SetValue(this.treeListColumn1, _gl); _newnode.HasChildren = true; } } }