Exemple #1
0
        // Очистка холста
        private void buttonClear_Click(object sender, EventArgs e)
        {
            lines.Clear();
            last_line.Clear();
            cutter.Clear();

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

            IsStartPointSegment = true;


            ButtonSegmentDrawEnabled();

            Canvas.Clear(Color.White);
        }