Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Dim trv As WinForm.TreeView = e.Form.Controls("TreeView1")
trv.BuildTree("目录树", "加工人", "加工人列节点='机加工'", "_Identify")
Dim trv2 As WinForm.TreeView = e.Form.Controls("TreeView2")
trv2.BuildTree("目录树", "加工人", "加工人列节点='电加工'", "_Identify")
Dim trv3 As WinForm.TreeView = e.Form.Controls("TreeView3")
trv3.BuildTree("目录树", "加工人", "加工人列节点='检验'", "_Identify")
Dim trv4 As WinForm.TreeView = e.Form.Controls("TreeView4")
trv4.BuildTree("目录树", "加工人", "加工人列节点='钳工'", "_Identify")
需要修改变量名
能否改成?
程序头
Dim trv As WinForm.TreeView = e.Form.Controls("TreeView1")
trv.BuildTree("目录树", "加工人", "加工人列节点='机加工'", "_Identify")
程序尾
回复4楼:搞多个控件,目的是为了在数据录入时,减少鼠标点击次数。