Foxtable(狐表)用户栏目专家坐堂 → 请教目录树选中


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

主题:请教目录树选中

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


加好友 发短信
等级:管理员 帖子:47448 积分:251054 威望:0 精华:91 注册:2008/6/17 17:14:00
  发帖心情 Post By:2011/8/3 14:35:00 [显示全部帖子]

if nd.Level = 0 then

  return

end if

dim bln as Boolean = True

for each nd as WinForm.TreeNode in e.Node.ParentNode.Nodes

     if nd.checked = false then

        bln= false

        exit for

     end if

next

if bln then

    e.node.Parentnode.Checked = true

end if


 回到顶部