Esempio n. 1
0
        // Очистка холста
        private void buttonClear_Click(object sender, EventArgs e)
        {
            polygon.Clear();
            polygon_finished = false;
            cutter.Clear();

            g.Clear(Color.White);
            canvasBase.Refresh();
        }
Esempio n. 2
0
        // Buttons binds
        private void ButtonClear_Click(object sender, EventArgs e)
        {
            DrawCutter   = true;
            CutterExists = false;

            CurrentCutter.Clear();
            CurrentPolygon.Clear();

            ButtonPolygonDrawEnabled();

            Canvas.Clear(Color.White);
        }