DoubleClick() public method

Left mouse button double click.
public DoubleClick ( ViewBase targetElement, Point pt ) : void
targetElement ViewBase Target element for the mouse message.
pt Point Mouse position relative to control.
return void
Exemplo n.º 1
0
        /// <summary>
        /// Left mouse button double click.
        /// </summary>
        /// <param name="pt">Mouse position relative to control.</param>
        public void DoubleClick(Point pt)
        {
            _manager.DoubleClick(_targetElement, pt);

            if (_targetController != null)
            {
                _targetController.DoubleClick(pt);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Left mouse button double click.
        /// </summary>
        /// <param name="pt">Mouse position relative to control.</param>
        public void DoubleClick(Point pt)
        {
            _manager.DoubleClick(_targetElement, pt);

            _targetController?.DoubleClick(pt);
        }