/// <summary> /// 设置子节点CheckState /// </summary> /// <param name="node"></param> /// <param name="check"></param> private static void SetCheckedChildNodes(TreeListNode node, CheckState check) { if (node != null) { node.LoopTreeNodes((TreeListNode _node) => { _node.CheckState = check; }); } }