Example #1
0
 private void brushSquare_Click(object sender, EventArgs e) // Вызов квадратной кисти
 {
     brush = new SquareBrush(brush);
     brushSquare.BorderStyle = BorderStyle.Fixed3D;
     brushCircle.BorderStyle = BorderStyle.None;
 }
 public void MouseClick(PictureBox sheet, IBrush brush, IFill fill, MouseEventArgs e)
 {
 }
Example #3
0
 public void MouseUp(PictureBox sheet, IBrush brush, IFill fill, MouseEventArgs e)
 {
     cursorActive     = false;
     brush.BrushColor = color;
 }
Example #4
0
 public SquareBrush(IBrush brush)
 {
     BrushSize  = brush.BrushSize;
     BrushColor = brush.BrushColor;
 }