老大,帮我看下,下面这段遍历代码报错。
For Each f As WinForm.Form In Forms For Each fc As WinForm.Control In f.Controls If Typeof fc Is WinForm.Button Then Dim fct As WinForm.Button = fc output.show(fct.name) End If NextNext
貌似语法上没什么问题呀
Dim fct As WinForm.Button = fc '这句有问题吧,应当去掉这句。