日期:2014-05-17 浏览次数:20709 次
this.treeView1.Nodes.AddRange(new TreeNode[] {
new TreeNode("T1201",new TreeNode[]{
new TreeNode("111"),
new TreeNode("222"),
new TreeNode("333")
}),
new TreeNode("T1202",new TreeNode[]{
new TreeNode("444"),
new TreeNode("555"),
new TreeNode("666")
}),
new TreeNode("T1203",new TreeNode[]{
new TreeNode("777"),
new TreeNode("888"),
new TreeNode("999")
})
});
this.treeView1.ExpandAll();