MouseEnter() public method

Mouse has entered the view.
public MouseEnter ( ViewBase targetElement, Control c ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
return void
示例#1
0
        /// <summary>
        /// Mouse has entered the view.
        /// </summary>
        /// <param name="c">Reference to the source control instance.</param>
        public void MouseEnter(Control c)
        {
            _manager.MouseEnter(_targetElement, c);

            if (_targetController != null)
            {
                _targetController.MouseEnter(c);
            }
        }
示例#2
0
        /// <summary>
        /// Mouse has entered the view.
        /// </summary>
        /// <param name="c">Reference to the source control instance.</param>
        public void MouseEnter(Control c)
        {
            _manager.MouseEnter(_targetElement, c);

            _targetController?.MouseEnter(c);
        }