// //MovePoint-Tool // private void MovePoint_Click(object sender, EventArgs e) { DrawPanel.Cursor = Cursors.Hand; ShapeCalcToolBox.SetCurrentTool((Button)sender, DrawTools.Drag); DrawPanelUtil.MovePointTool(Vertices, ElementsOfShape, graphicsDrawPanel, blackPen, SenderMethod.DragButtonClick); }
// //CurveBrush-Tool // private void CurveBrush_Click(object sender, EventArgs e) { DrawPanel.Cursor = Cursors.Hand; ShapeCalcToolBox.SetCurrentTool((Button)sender, DrawTools.Curve); DrawPanelUtil.CurveBrushTool(Vertices, ElementsOfShape, Edges, graphicsDrawPanel, blackPen, SenderMethod.CurveButtonClick); }