NUnitForms Class Library

MouseController.Press Method

Simulates pressing the MouseButtons or modifier Keys.

Overload List

Simulate pressing the mouse modifier key(s) (Alt, Shift and Control).

public void Press(Keys);

Simulate pressing the mouse button(s).

public void Press(MouseButtons);

Simulate pressing the mouse button(s) at the specified PointF.

public void Press(MouseButtons,PointF);

Simulate pressing the mouse button(s) at the specified x and y-coordinate.

public void Press(MouseButtons,float,float);

See Also

MouseController Class | NUnit.Extensions.Forms Namespace