//Процесс рисования фигуры private void canvas1_MouseMove(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left && shape != null) { shape.Drawing(e.Location, this.canvas1); } }
static void Drawing(IDrawable drawingFigure) { drawingFigure.Drawing(5); drawingFigure.DrawInColours(); }