Example #1
0
        public void Select(IEntity entityToSelect)
        {
            var nodeToSelect = _treeView.NodeById(entityToSelect.Id);

            if (nodeToSelect == null)
            {
                return;
            }
            _treeView.SelectNode(nodeToSelect);
        }
Example #2
0
        public void SelectItem(IObjectBase objectBase)
        {
            var node = _treeView.NodeById(objectBase.Id);

            if (node == null)
            {
                return;
            }
            _treeView.SelectNode(node);
        }
Example #3
0
 public ITreeNode GetNode(string id)
 {
     return(_treeView.NodeById(id));
 }