Simulate mouse double-click on a certain point relative to upper left of the control (0,0)

Namespace:  QAliber.Engine.Controls
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public virtual void DoubleClick(
	MouseButtons button,
	Point rel
)
Visual Basic (Declaration)
Public Overridable Sub DoubleClick ( _
	button As MouseButtons, _
	rel As Point _
)
Visual C++
public:
virtual void DoubleClick(
	MouseButtons button, 
	Point rel
)

Parameters

button
Type: System.Windows.Forms..::.MouseButtons
The button to be clicked
rel
Type: System.Windows..::.Point
The point in pixels relative to the top left corner of the control

Examples

CopyC#
 //click around the upper left corener of desktop
Desktop.UIA.DoubleClick(MouseButtons.Right,new Point(50,50));

See Also