ComponentFactory.Krypton.Toolkit.VisualPopup.OnMouseDown C# (CSharp) Method

OnMouseDown() protected method

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void
        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?
                if (ViewManager != null)
                    ViewManager.MouseDown(e, new Point(e.X, e.Y));
            }

            // Do not call base class! Prevent capture of the mouse
        }