我使用以下代码在QTP上创建UI
Set objTree = DotNetFactory.CreateInstance("System.Windows.Forms.TreeView", "System.Windows.Forms")
Set objDataGridView = DotNetFactory.CreateInstance("System.Windows.Forms.DataGridView", "System.Windows.Forms")
我对此有几个问题
objTree
添加活动?我想把一个听众放到它上面,当它被点击时,我会触发一个函数来填充objDataGridView