Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TreeView1.Nodes.Add("nihao")
TreeView1.Nodes(0).Nodes.Add("xiaowang")
TreeView1.Nodes.Add("xiaoli")
TreeView1.Nodes(1).Nodes.Add("xiaohuang")
TreeView1.ExpandAll() ' 可以实现完全展开
End Sub