摘要:
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为树型菜单节点对像,当调用此方法时,此方法将传入 阅读全文