Modifica

Condividi tramite


StatusBarPanelClickEventArgs Constructor

Definition

Initializes a new instance of the StatusBarPanelClickEventArgs class.

public:
 StatusBarPanelClickEventArgs(System::Windows::Forms::StatusBarPanel ^ statusBarPanel, System::Windows::Forms::MouseButtons button, int clicks, int x, int y);
public StatusBarPanelClickEventArgs (System.Windows.Forms.StatusBarPanel statusBarPanel, System.Windows.Forms.MouseButtons button, int clicks, int x, int y);
new System.Windows.Forms.StatusBarPanelClickEventArgs : System.Windows.Forms.StatusBarPanel * System.Windows.Forms.MouseButtons * int * int * int -> System.Windows.Forms.StatusBarPanelClickEventArgs
Public Sub New (statusBarPanel As StatusBarPanel, button As MouseButtons, clicks As Integer, x As Integer, y As Integer)

Parameters

statusBarPanel
StatusBarPanel

The StatusBarPanel that represents the panel that was clicked.

button
MouseButtons

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

clicks
Int32

The number of times that the mouse button was clicked.

x
Int32

The x-coordinate of the mouse click.

y
Int32

The y-coordinate of the mouse click.

Applies to

See also