/// <summary>
        /// 向父节点中添加子节点
        /// </summary>
        /// <param name="node">节点</param>
        /// <param name="listOrg">原始的列表</param>
        /// <param name="parentName">父节点名称</param>
        private void ForeachPropertyNode(PropertyNodeItem node, List <PropertyNodeItem> listOrg, string parentName)
        {
            var listChildren = (from dataTable in listOrg.AsEnumerable()
                                where dataTable.ParentName == parentName
                                select new PropertyNodeItem()
            {
                ParentName = dataTable.ParentName.ToString(),
                ChildrenName = dataTable.ChildrenName.ToString(),
                Icon = @"../Icon/children.ico",
                IsExpanded = false
            });

            node.Children.AddRange(listChildren);
        }
 /// <summary>
 /// 给Treeview赋值
 /// </summary>
 /// <param name="listOrg">原始列表</param>
 /// <param name="listNew">Own列表</param>
 private void SetTree(List <PropertyNodeItem> listOrg, List <string> listNew)
 {
     TreeList.Clear();
     for (int i = 0; i < listNew.Count; i++)
     {
         PropertyNodeItem node = new PropertyNodeItem()
         {
             ParentName   = listNew[i].ToString(),
             ChildrenName = listNew[i].ToString(),
             Icon         = @"../Icon/father.ico",
             IsExpanded   = false
         };
         ForeachPropertyNode(node, listOrg, listNew[i].ToString());
         TreeList.Add(node);
     }
 }
 /// <summary>
 /// 向父节点中添加子节点
 /// </summary>
 /// <param name="node">节点</param>
 /// <param name="listOrg">原始的列表</param>
 /// <param name="parentName">父节点名称</param>
 private void ForeachPropertyNode(PropertyNodeItem node, List<PropertyNodeItem> listOrg, string parentName)
 {
     var listChildren = (from dataTable in listOrg.AsEnumerable()
                         where dataTable.ParentName == parentName
                         select new PropertyNodeItem()
                         {
                             ParentName = dataTable.ParentName.ToString(),
                             ChildrenName = dataTable.ChildrenName.ToString(),
                             Icon = @"../Icon/children.ico",
                             IsExpanded = false
                         });
     node.Children.AddRange(listChildren);
 }
 /// <summary>
 /// 给Treeview赋值
 /// </summary>
 /// <param name="listOrg">原始列表</param>
 /// <param name="listNew">Own列表</param>
 private void SetTree(List<PropertyNodeItem> listOrg, List<string> listNew)
 {
     TreeList.Clear();
     for (int i = 0; i < listNew.Count; i++)
     {
         PropertyNodeItem node = new PropertyNodeItem()
         {
             ParentName = listNew[i].ToString(),
             ChildrenName = listNew[i].ToString(),
             Icon = @"../Icon/father.ico",
             IsExpanded = false
         };
         ForeachPropertyNode(node, listOrg, listNew[i].ToString());
         TreeList.Add(node);
     }
 }