Ejemplo n.º 1
0
        public void ShowFlowDesigner(FlowchartDesigner flowchartDesigner)
        {
            FlowchartWindow flowchartWindow = new FlowchartWindow(flowchartDesigner);

            flowchartDesigner.MinHeight = 400;
            flowchartWindow.Show();

            DockManager.Instance.ForceDocking(DockManager.Instance.MainDockPane, flowchartWindow, EDock.Bottom);
        }
Ejemplo n.º 2
0
        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;
        }