以下是引用狐狸爸爸在2011-8-14 9:18:00的发言: Dim trv As WinForm.TreeView = e.Form.Controls("TreeView1") If e.node.Level =1 Then If e.node.Checked Then For Each nd As WinForm.TreeNode In trv.AllNodes If nd.FullPath <> e.node.FullPath Then nd.Checked = False End If Next messagebox.show(e.node.text.split(":")(1)) End If End If