public virtual bool MouseDown(Control c, Point pt, MouseButtons button) { // Only interested in left mouse pressing down if (button == MouseButtons.Left) { // Capturing mouse input _captured = true; // Update the visual state UpdateTargetState(pt); } // Remember the user has pressed the right mouse button down if (button == MouseButtons.Right) _rightButtonDown = true; return _captured; }