public BrushTool(ToolArgs args, BrushToolType type) : base(args) { toolType = type; drawing = false; args.pictureBox.Cursor = Cursors.Cross; args.pictureBox.MouseDown += new MouseEventHandler(OnMouseDown); args.pictureBox.MouseMove += new MouseEventHandler(OnMouseMove); args.pictureBox.MouseUp += new MouseEventHandler(OnMouseUp); }