StatusBarPanelClickEventArgs Constructor

StatusBarPanelClickEventArgs Constructor (StatusBarPanel, MouseButtons, Int32, Int32, Int32)

 

Initializes a new instance of the StatusBarPanelClickEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public StatusBarPanelClickEventArgs(
	StatusBarPanel statusBarPanel,
	MouseButtons button,
	int clicks,
	int x,
	int y
)

Parameters

statusBarPanel
Type: System.Windows.Forms.StatusBarPanel

The StatusBarPanel that represents the panel that was clicked.

button
Type: System.Windows.Forms.MouseButtons

One of the MouseButtons values that represents the mouse buttons that were clicked while over the StatusBarPanel.

clicks
Type: System.Int32

The number of times that the mouse button was clicked.

x
Type: System.Int32

The x-coordinate of the mouse click.

y
Type: System.Int32

The y-coordinate of the mouse click.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft