private void tvNavigation_NodeMouseClick(EventArgs e, PureComponents.TreeView.Node oNode) { // Select only this area/item if navigation node clicked. if (Control.ModifierKeys == Keys.None) { NavigationTreeView.ClearNodeSelection(); oNode.Select(); } }
private void tvNavigation_AfterNodePositionChange(PureComponents.TreeView.Node oNode) { NavigationTreeView.ClearNodeSelection(); foreach (MindFusion.FlowChartX.ChartObject chartObject in frmFlowChart.FlowChart.Objects) { chartObject.Visible = false; } RePathNodes(oNode); if (oNode.Parent != null) { oNode.Parent.Select(); } else { oNode.Select(); } }