// Очистка холста private void buttonClear_Click(object sender, EventArgs e) { polygon.Clear(); polygon_finished = false; cutter.Clear(); g.Clear(Color.White); canvasBase.Refresh(); }
// Buttons binds private void ButtonClear_Click(object sender, EventArgs e) { DrawCutter = true; CutterExists = false; CurrentCutter.Clear(); CurrentPolygon.Clear(); ButtonPolygonDrawEnabled(); Canvas.Clear(Color.White); }