private void Select(TreeNode treeNode)
        {
            if (mTreeView.SelectedNode != treeNode)
            {
                // See comment above about why we have to manually raise the AfterClick

                mTreeView.SelectedNode = treeNode;

                if (treeNode != null)
                {
                    treeNode.EnsureVisible();
                }

                mTreeView.CallAfterClickSelect(null, new TreeViewEventArgs(treeNode));
            }
        }
Example #2
0
        private void Select(TreeNode treeNode)
        {
            if (mTreeView.SelectedNode != treeNode)
            {
                // See comment above about why we have to manually raise the AfterClick

                mTreeView.SelectedNode = treeNode;

                if (treeNode != null)
                {
                    treeNode.EnsureVisible();
                }

                mTreeView.CallAfterClickSelect(null, new TreeViewEventArgs(treeNode));
            }

            ProjectVerifier.Self.AssertSelectedIpsosArePartOfRenderer();
        }