public void ShowFlowDesigner(FlowchartDesigner flowchartDesigner) { FlowchartWindow flowchartWindow = new FlowchartWindow(flowchartDesigner); flowchartDesigner.MinHeight = 400; flowchartWindow.Show(); DockManager.Instance.ForceDocking(DockManager.Instance.MainDockPane, flowchartWindow, EDock.Bottom); }
public FlowchartWindow(FlowchartDesigner flowchartDesigner) : base() { FlowDesigner = flowchartDesigner; Pane flowchartPane = new Pane(FlowDesigner.FlowValue); flowchartPane.MainContent = flowchartDesigner; //FlowManager.Instance.FlowchartDesigner.DockedWindow = this; ContentPane contentPane = new ContentPane(); contentPane.AddPane(flowchartPane); base.MainContent = contentPane; }