MouseMove() публичный Метод

Mouse has moved inside the view.
public MouseMove ( ViewBase targetElement, Control c, Point pt ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
Результат void
Пример #1
0
        /// <summary>
        /// Mouse has moved inside the view.
        /// </summary>
        /// <param name="c">Reference to the source control instance.</param>
        /// <param name="pt">Mouse position relative to control.</param>
        public void MouseMove(Control c, Point pt)
        {
            _manager.MouseMove(_targetElement, c, pt);

            if (_targetController != null)
            {
                _targetController.MouseMove(c, pt);
            }
        }
Пример #2
0
        /// <summary>
        /// Mouse has moved inside the view.
        /// </summary>
        /// <param name="c">Reference to the source control instance.</param>
        /// <param name="pt">Mouse position relative to control.</param>
        public void MouseMove(Control c, Point pt)
        {
            _manager.MouseMove(_targetElement, c, pt);

            _targetController?.MouseMove(c, pt);
        }