示例#1
0
        private void btn_sequence_Click(object sender, EventArgs e)
        {
            //graphControl.Locked = true;
            //_mDrawShape = true;
            SequenceShape shape = new SequenceShape();

            ShapeDrawTool.DrawShape(shape, graphControl);

            //this.graphControl.AddShape(shape);
        }
示例#2
0
        private void btn_switch_Click(object sender, EventArgs e)
        {
            BlockShape shape = new BlockShape(graphControl);

            ShapeDrawTool.DrawShape(shape, graphControl);
        }
示例#3
0
        private void btn_if_Click(object sender, EventArgs e)
        {
            IfShape shape = new IfShape();

            ShapeDrawTool.DrawShape(shape, graphControl);
        }
示例#4
0
        private void btn_loop_Click(object sender, EventArgs e)
        {
            LoopShape shape = new LoopShape();

            ShapeDrawTool.DrawShape(shape, graphControl);
        }