-- 作者:lsy
-- 发布时间:2013/7/9 7:36:00
--
运行正常,未发现敌情
Enter
e.Sender.BuildTree("表A","第一列") e.Sender.Nodes.Insert("全选",0)
AfterCheckNode
Dim trv As WinForm.TreeView = e.Form.Controls("TreeView1") For Each nd As WinForm.TreeNode In trv.AllNodes If e.node.Index = 0 If e.node.Checked = True nd.Checked = True Else nd.Checked = False End If End If Next
|