public void Select(IEntity entityToSelect) { var nodeToSelect = _treeView.NodeById(entityToSelect.Id); if (nodeToSelect == null) { return; } _treeView.SelectNode(nodeToSelect); }
public void SelectItem(IObjectBase objectBase) { var node = _treeView.NodeById(objectBase.Id); if (node == null) { return; } _treeView.SelectNode(node); }
public ITreeNode GetNode(string id) { return(_treeView.NodeById(id)); }