Foxtable(狐表)用户栏目专家坐堂 → 为何访问兰、配置兰不能形成目录树(已解决)


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

主题:为何访问兰、配置兰不能形成目录树(已解决)

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


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2014/11/8 21:08:00 [显示全部帖子]

Dim tv As WinForm.TreeView = e.Form.Controls("TreeView1")
tv.Nodes.Clear
For Each itm As object In QAT.Items
    Dim nd As object = tv.Nodes.Add(itm.Name)
    If itm.Gettype.name <> "Button" Then
        For Each citm As object In itm.items
            Dim cnd As object = nd.Nodes.Add(citm.Name)
            If citm.Gettype.name <> "Button" Then
                For Each ccitm As RibbonMenu.RibbonItem In citm.items
                    Dim ccnd As object = cnd.Nodes.Add(ccitm.Name)
                Next
            End If   
        Next
    End If
Next

 回到顶部