Freigeben über


Control.InvokeGotFocus-Methode

Löst das GotFocus-Ereignis für das angegebene Steuerelement aus.

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

Syntax

'Declaration
Protected Sub InvokeGotFocus ( _
    toInvoke As Control, _
    e As EventArgs _
)
'Usage
Dim toInvoke As Control
Dim e As EventArgs

Me.InvokeGotFocus(toInvoke, e)
protected void InvokeGotFocus (
    Control toInvoke,
    EventArgs e
)
protected:
void InvokeGotFocus (
    Control^ toInvoke, 
    EventArgs^ e
)
protected void InvokeGotFocus (
    Control toInvoke, 
    EventArgs e
)
protected function InvokeGotFocus (
    toInvoke : Control, 
    e : EventArgs
)

Parameter

  • toInvoke
    Das Control, dem das Ereignis zugewiesen werden soll.
  • e
    Eine Instanz von EventArgs, die die Ereignisdaten enthält.

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

Control-Klasse
Control-Member
System.Windows.Forms-Namespace
GotFocus
InvokeLostFocus