1.For Each frm As WinForm.Form In Forms If frm.Name = "窗口1" Then Return frm.Tablename End IfNext2.遍历
1.
For Each frm As WinForm.Form In Forms
If frm.Name = "窗口1" Then
Return frm.Tablename
End If
Next
2.遍历