示例#1
0
        public SummaryDocker(IDockerFactory factory)
        {
            m_factory    = factory;
            m_objectView = new SummaryContentFrame();
            m_objectView.SelectedObject = TreeTool.GetFocusedNode();

            HTree.AfterDeleteNode    += HTree_AfterDeleteNode;
            HTree.FocusedNodeChanged += HTree_FocusedNodeChanged;
        }
示例#2
0
        void HTree_FocusedNodeChanged()
        {
            var curnode = TreeTool.GetFocusedNode();

            MainWindow.Instance.RunInMainWindow(() => m_objectView.SelectedObject = curnode);
        }
示例#3
0
 void HTree_FocusedNodeChanged()
 {
     m_dataBrowser.SelectedObject = TreeTool.GetFocusedNode();
 }
示例#4
0
 static object FindNodeByPath(object ctrl, object path)
 {
     return(TreeTool.FindNode((TreeView)ctrl, (IEnumerable)path));
 }