摘要:
publicvoidSetChildNode(TreeNodeNode,stringsSplit){foreach(TreeNodenodeinNode.ChildNodes) {if((sSplit.IndexOf(node.Value)>=0)&&(node.Value!="0")) { node.Checked=true; } this.SetChildNode(node,sSplit); }}这是定义的一个叫GetChildNode的公共方法,需要传一个TreeNode类型的参数,TreeNode为树型菜单节点对像,当调用此方法时,此方法将传入 阅读全文
posted @ 2013-05-29 16:50
黑咖啡1
阅读(1371)
评论(0)
推荐(0)
2013年5月29日