private List<string> alist = new List<string>();
alist.Add("节点1");
alist.Add("节点2");
alist.Add("节点3");
foreach (var nn in alist)
{
DevComponents.AdvTree.Node node2 = new DevComponents.AdvTree.Node();
node2.Text = nn.ToString();
node1.Nodes.AddRange(new DevComponents.AdvTree.Node[] { node2 });
}
DevComponents.AdvTree 使用方法
最新推荐文章于 2024-09-22 23:20:37 发布