MouseClick Method
X coordinates in pixels.
Y coordinates in pixels.
MOUSE_BUTTON.
Simulates Mouse Click operation.
Remarks
The mouse simulation methods use location in Control client coordinates. If you have the location in screen coordinates, translate it to client coordinates.
Syntax
'Declaration
 
Public Sub MouseClick( _
   ByVal x As System.Integer, _
   ByVal y As System.Integer, _
   ByVal Button As MOUSE_BUTTON _
) 
public void MouseClick( 
   System.int x,
   System.int y,
   MOUSE_BUTTON Button
)

Parameters

x
X coordinates in pixels.
y
Y coordinates in pixels.
Button
MOUSE_BUTTON.