随笔分类 - Winform
摘要:winform treeView checkbox全选反选 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 < e.Node.Parent.Nodes.Count; i++) { i
阅读全文

浙公网安备 33010602011771号