摘要: private void treeView2_AfterCheck(object sender, TreeViewEventArgs e) { if (e.Action != TreeViewAction.Unknown) { CheckAllChildNodes(e.Node, e.Node.Checked); //选中父节点 bool bol = true; if (e.Node.Parent != null) { for (int i = 0; i 0) { this.CheckAllChildNodes(node, nodeChecked); } } } #endregion 阅读全文
posted @ 2013-12-19 10:57 奔跑.Ken 阅读(518) 评论(0) 推荐(0) 编辑