public DoubleClick ( ViewBase targetElement, Point pt ) : void | ||
targetElement | ViewBase | Target element for the mouse message. |
pt | Point | Mouse position relative to control. |
Результат | void |
/// <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); } }
/// <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); }