MouseEnter() public méthode

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.
Résultat void
Exemple #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);
            }
        }
Exemple #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);
        }