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

            g.Clear(Color.White);
            canvasBase.Refresh();
        }
예제 #2
0
파일: Form1.cs 프로젝트: shlyapos/bmstu_cg
        // 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);
        }