Foxtable(狐表)用户栏目专家坐堂 → [求助]关于遍历窗口中容器的控件问题


  共有1870人关注过本帖树形打印复制链接

主题:[求助]关于遍历窗口中容器的控件问题

帅哥哟,离线,有人找我吗?
lhpc120
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:三尾狐 帖子:633 积分:6320 威望:0 精华:0 注册:2011/5/8 13:21:00
  发帖心情 Post By:2018/2/12 17:51:00 [显示全部帖子]

For Each c As WinForm.Control In e.Form.Controls("SplitContainer3").Panel2.Children
    If Typeof c Is WinForm.Line Then
        Dim pp As WinForm.Line = c
        Output.Show(pp.name)
    End If
Next

这样用好像不行吧

 回到顶部