예제 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            this.drawFlowGroup1 = new DrawFlowGroup();

            this.drawFlowGroup1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.drawFlowGroup1.Location = new System.Drawing.Point(0, 0);
            this.drawFlowGroup1.Name     = "drawFlowGroup1";
            this.drawFlowGroup1.Size     = new System.Drawing.Size(704, 502);
            this.drawFlowGroup1.TabIndex = 0;

            this.Controls.Add(this.drawFlowGroup1);
        }
예제 #2
0
        private void Form2_Load(object sender, EventArgs e)
        {
            addFlow1 = new AddFlow();
            this.addFlow1.BackColor     = SystemColors.Window;
            this.addFlow1.CursorSetting = Lassalle.Flow.CursorSetting.All;
            //            this.addFlow1.MouseAction = MouseAction.
            this.addFlow1.DefNodeProp.Shape.Style = ShapeStyle.RectEdgeRaised;
            this.addFlow1.DefNodeProp.FillColor   = SystemColors.Control;
            this.addFlow1.DefLinkProp.Jump        = Jump.Arc;
            //this.addFlow1.DefLinkProp.MaxPointsCount = 3;

            GDIDrawFlow.DrawFlowGroup drawFlowGroup1 = new DrawFlowGroup();
            drawFlowGroup1.Dock     = System.Windows.Forms.DockStyle.Fill;
            drawFlowGroup1.Location = new System.Drawing.Point(0, 0);
            drawFlowGroup1.Name     = "drawFlowGroup1";
            drawFlowGroup1.Size     = new System.Drawing.Size(704, 502);
            drawFlowGroup1.TabIndex = 0;

            //this.Controls.Add(drawFlowGroup1);
        }