Exemple #1
0
 //
 //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);
 }
Exemple #2
0
 //
 //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);
 }