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!

TrayIcon MouseUp Event

Occurs when the user releases a mouse button while the pointer is over a control.

The following declaration shows the syntax for a method that handles the MouseUp event.

[Visual Basic]
Private Sub TrayIconName_MouseUp( _
   ByVal sender As Object, _
   ByVal e As MouseEventArgs _
)
[C#]
private void TrayIconName_MouseUp(
   object sender,
   MouseEventArgs e
);
[C++]
private: void TrayIconName_MouseUp(
   Object* sender,
   MouseEventArgs* e
);
[JScript]
private TrayIconName_MouseUp(
   sender : Object,
   e : MouseEventArgs
);

Parameters

sender
The source of the event.
e
A MouseEventArgs that contains the event data. The following MouseEventArgs properties provide information specific to this event.
Property Description
Button
Gets which mouse button was pressed.
Clicks
Gets the number of times the mouse button was pressed and released.
Delta
Gets a signed count of the number of detents the mouse wheel has rotated.
X
Gets the x-coordinate of a mouse click.
Y
Gets the y-coordinate of a mouse click.

See Also

TrayIcon Class | TrayIcon MembersTopic | System.WinForms Namespace | TrayIcon.MouseDown | TrayIcon.MouseMove