public void SelectNodeById(string nodeId) { var node = _treeView.NodeById(nodeId); if (node == null) { _treeView.SelectFocusedNodeOrFirst(); } else { _treeView.SelectNode(node); } }
public ITreeNode NodeById(string id) { return(_treeGroups.NodeById(id)); }