NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MouseEventArgs Constructor (MouseButtons, Int32, Int32, Int32, Int32)

Initializes a new instance of the MouseEventArgs class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal button As MouseButtons, _
   ByVal clicks As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal delta As Integer _
)
[C#]
public MouseEventArgs(
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
);
[C++]
public: MouseEventArgs(
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
);
[JScript]
public function MouseEventArgs(
   button : MouseButtons,
   clicks : int,
   x : int,
   y : int,
   delta : int
);

Parameters

button
One of the System.Winforms.MouseButtons values indicating which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of a mouse click, in pixels.
y
The y-coordinate of a mouse click, in pixels.
delta
A signed count of the number of detents the wheel has rotated.

See Also

MouseEventArgs Class | MouseEventArgs Members | System.WinForms Namespace | MouseEventArgs Constructor Overload List | System.Winforms.MouseButtons