If e.Form.Controls("TreeView1").Selectednode.level = 1 Then
参考:
http://www.foxtable.com/help/topics/0884.htm