循环所有节点,如果是属于第二级的,就改即可。
但是,加载树要自己做。
http://www.foxtable.com/help/topics/2054.htm
Dim trv As WinForm.TreeView
For each nd As WinForm.TreeNode In trv.AllNodes
If nd.Level = 1 Then
If nd.Text = "true" Then
nd.text = "好"
Else If nd.Text = "false" Then
nd.text = "不好"
End If
End If
Next
[此贴子已经被作者于2014-9-14 18:01:12编辑过]