Freigeben über


StatusBarPanelClickEventArgs-Konstruktor

Initialisiert eine neue Instanz der StatusBarPanelClickEventArgs-Klasse.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Sub New ( _
    statusBarPanel As StatusBarPanel, _
    button As MouseButtons, _
    clicks As Integer, _
    x As Integer, _
    y As Integer _
)
'Usage
Dim statusBarPanel As StatusBarPanel
Dim button As MouseButtons
Dim clicks As Integer
Dim x As Integer
Dim y As Integer

Dim instance As New StatusBarPanelClickEventArgs(statusBarPanel, button, clicks, x, y)
public StatusBarPanelClickEventArgs (
    StatusBarPanel statusBarPanel,
    MouseButtons button,
    int clicks,
    int x,
    int y
)
public:
StatusBarPanelClickEventArgs (
    StatusBarPanel^ statusBarPanel, 
    MouseButtons button, 
    int clicks, 
    int x, 
    int y
)
public StatusBarPanelClickEventArgs (
    StatusBarPanel statusBarPanel, 
    MouseButtons button, 
    int clicks, 
    int x, 
    int y
)
public function StatusBarPanelClickEventArgs (
    statusBarPanel : StatusBarPanel, 
    button : MouseButtons, 
    clicks : int, 
    x : int, 
    y : int
)

Parameter

  • statusBarPanel
    Ein StatusBarPanel, das den Bereich darstellt, auf den geklickt wurde.
  • button
    Einer der MouseButtons-Werte, der die Maustaste darstellt, mit der geklickt wurde, als sich der Mauszeiger im StatusBarPanel befand.
  • clicks
    Gibt an, wie oft die Maustaste gedrückt wurde.
  • x
    Die x-Koordinate des Mausklicks.
  • y
    Die y-Koordinate des Mausklicks.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

StatusBarPanelClickEventArgs-Klasse
StatusBarPanelClickEventArgs-Member
System.Windows.Forms-Namespace
MouseButtons-Enumeration
StatusBarPanel-Klasse