Foxtable(狐表)用户栏目专家坐堂 → 关于远程文件管理器


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

主题:关于远程文件管理器

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


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2015/6/29 12:06:00 [显示全部帖子]

现在代码要改改了

 

Dim frm As Object = windows.Forms.Form.activeform
If frm IsNot Nothing Then  
    output.show(frm.name)
    If frm.name = "Class235" Then
        frm.controls("Button1").Visible = False
        frm.controls("Button2").Visible = False
        frm.controls("Button3").Visible = False
        frm.controls("cmbFTPPath").Visible = False
        frm.controls("Label1").Visible = False
        frm.controls("TextBox1").Visible = False
        frm.controls("C1FlexGrid1").height = 380       
    Else If frm.name = "Class234" Then
        frm.controls("cmbFTPPath").Visible = False
        frm.controls("Label2").Visible = False
        frm.controls("cmbFTPPath").Visible = False
        frm.controls("btnOpen").Visible = False
        frm.controls("btnOpenLocFolder").Visible = False
        frm.controls("Label1").Visible = False
        frm.controls("btnRefresh").Visible = False
        frm.controls("btnUpload").Visible = False
        frm.controls("btnDownload").Visible = False
        frm.controls("btnMakeDir").Visible = False
        frm.controls("btnRename").Visible = False
        frm.controls("btnDelete").Visible = False
        frm.controls("C1FlexGrid2").Visible = False
        frm.controls("C1FlexGrid1").top = 10
        frm.height = 380
    End If
End If


 回到顶部