예제 #1
0
 //весь код для рисования формы
 public void MouseDown(PictureBox sheet, IBrush brush, MouseEventArgs e)
 {
     cursorActive = true;
     x1           = e.X;
     y1           = e.Y;
     brush.DrawDot(e.X, e.Y);
     Canva.GetCanva.WriteToPictureBox(sheet);
 }