Top() public method

public Top ( ) : TreeNode
return TreeNode
Example #1
0
        public void SelectNode(TreeNode node)
        {
            if (_latched)
            {
                if (ReferenceEquals(node, node.Top()))
                {
                    _latched = false;
                }

                return;
            }

            // TODO -- harden this
            _conductor.OpenScreen(node.Subject);
            _latched = true;
        }
Example #2
0
        public void SelectNode(TreeNode node)
        {
            if (_latched)
            {
                if (ReferenceEquals(node, node.Top()))
                {
                    _latched = false;
                }

                return;
            }

            // TODO -- harden this
            _conductor.OpenScreen(node.Subject);
            _latched = true;
        }