示例#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)
 {
 }
示例#3
0
 public void MouseUp(PictureBox sheet, IBrush brush, IFill fill, MouseEventArgs e)
 {
     cursorActive     = false;
     brush.BrushColor = color;
 }
示例#4
0
 public SquareBrush(IBrush brush)
 {
     BrushSize  = brush.BrushSize;
     BrushColor = brush.BrushColor;
 }