This topic has not yet been rated - Rate this topic

StatusBarPanelClickEventArgs Constructor

Initializes a new instance of the StatusBarPanelClickEventArgs class.

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

Parameters

statusBarPanel
The StatusBarPanel that represents the panel that was clicked.
button
One of the MouseButtons values that represents the mouse buttons that were clicked while over the StatusBarPanel.
clicks
The number of times that the mouse button was clicked.
x
The x-coordinate of the mouse click.
y
The y-coordinate of the mouse click.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

StatusBarPanelClickEventArgs Class | StatusBarPanelClickEventArgs Members | System.Windows.Forms Namespace | MouseButtons | StatusBarPanel

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.