/// <summary> /// Raises the MouseDown event. /// </summary> /// <param name="e">A MouseEventArgs that contains the event data.</param> protected override void OnMouseDown(MouseEventArgs e) { // Cannot process a message for a disposed control if (!IsDisposed) { // Do we have a manager for processing mouse messages? ViewManager?.MouseDown(e, new Point(e.X, e.Y)); } // Do not call base class! Prevent capture of the mouse }