Beispiel #1
0
            static public void UnCheckAll(TreeNodeEx treeNode)
            {
                lock (m_syncRoot) {
                    TreeViewEx treeView = (TreeViewEx)treeNode.TreeView;
                    if (treeView != null)
                    {
                        treeView.SuspendCheckEvents();
                    }

                    CheckBoxes.UnCheckAll((TreeNode)treeNode);

                    if (treeView != null)
                    {
                        treeView.InvokeTreeViewExNodesChecked();
                        treeView.ResumeCheckEvents();
                    }
                }
            }