[This is preliminary documentation and is subject to change.]

Creates a mouse event with specified values.

Namespace:  CursesSharp
Assembly:  CursesSharp (in CursesSharp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public MouseEvent(
	int id,
	int x,
	int y,
	int z,
	MouseState bstate
)
Visual Basic (Declaration)
Public Sub New ( _
	id As Integer, _
	x As Integer, _
	y As Integer, _
	z As Integer, _
	bstate As MouseState _
)
Visual C++
public:
MouseEvent(
	int id, 
	int x, 
	int y, 
	int z, 
	MouseState bstate
)

Parameters

id
Type: System..::.Int32
ID of the mouse that reported the event.
x
Type: System..::.Int32
X coordinate of mouse cursor at the time of the event.
y
Type: System..::.Int32
Y coordinate of mouse cursor at the time of the event.
z
Type: System..::.Int32
Z coordinate of mouse cursor at the time of the event.
bstate
Type: CursesSharp..::.MouseState
State of mouse buttons at the time of the event.

See Also