按道理 应该有forms.count属性呀。
Dim frmNum As Integer= 0For Each frm As WinForm.Form In Forms frmnum = frmnum +1Next
还是腰用个遍历来数一下呢?
同样获得control的数量
既然集合都有count属性那 controls有没有count属性呢?
dim frm As WinForm.Form
frm = froms(0)
output.show( frm.Controls.count )