public SummaryDocker(IDockerFactory factory) { m_factory = factory; m_objectView = new SummaryContentFrame(); m_objectView.SelectedObject = TreeTool.GetFocusedNode(); HTree.AfterDeleteNode += HTree_AfterDeleteNode; HTree.FocusedNodeChanged += HTree_FocusedNodeChanged; }
void HTree_FocusedNodeChanged() { var curnode = TreeTool.GetFocusedNode(); MainWindow.Instance.RunInMainWindow(() => m_objectView.SelectedObject = curnode); }
void HTree_FocusedNodeChanged() { m_dataBrowser.SelectedObject = TreeTool.GetFocusedNode(); }
static object FindNodeByPath(object ctrl, object path) { return(TreeTool.FindNode((TreeView)ctrl, (IEnumerable)path)); }