Foxtable(狐表)用户栏目专家坐堂 → [求助]页面顺序


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

主题:[求助]页面顺序

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


加好友 发短信
等级:超级版主 帖子:13837 积分:69650 威望:0 精华:0 注册:2016/11/1 14:42:00
  发帖心情 Post By:2017/6/27 17:00:00 [显示全部帖子]

click

 

If e.Sender.name Like "关闭*" Then
    Dim tab As WinForm.TabControl=e.Form.Controls(e.Sender.name.split("_")(1) & "_" & e.Sender.name.split("_")(2))
    Dim pg As WinForm.TabPage = tab.TabPages("tab_测试" & "_" &e.Sender.name.split("_")(3))
    Dim btn As WinForm.Button=e.form.Controls("btn_Title_" & e.Sender.name.split("_")(3))
    btn.Visible = False
    pg.Visible = False
    Dim pidx As object = vars("p1_pidx")
    Dim ndic As new Dictionary(Of String, String)
    For Each key As String In pidx.keys
        If key <> btn.name Then
            ndic.add(key, key)
        End If
    Next
    vars("p1_pidx") = ndic

End If
If e.Sender.name Like "btn_Title_*" Then
    Dim tab As WinForm.TabControl=e.Form.Controls("tab_测试")
    Dim pg As WinForm.TabPage = tab.TabPages("tab_测试" & "_" &e.Sender.name.split("_")(2))
    tab.SelectedPage = pg
End If


 回到顶部