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); }
private void btn_switch_Click(object sender, EventArgs e) { BlockShape shape = new BlockShape(graphControl); ShapeDrawTool.DrawShape(shape, graphControl); }
private void btn_if_Click(object sender, EventArgs e) { IfShape shape = new IfShape(); ShapeDrawTool.DrawShape(shape, graphControl); }
private void btn_loop_Click(object sender, EventArgs e) { LoopShape shape = new LoopShape(); ShapeDrawTool.DrawShape(shape, graphControl); }