StatusBarPanelClickEventHandler Delegato
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
StatusBar is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use StatusStrip instead.
Rappresenta il metodo che gestirà l'evento PanelClick di un oggetto StatusBar.
public delegate void StatusBarPanelClickEventHandler(System::Object ^ sender, StatusBarPanelClickEventArgs ^ e);
public delegate void StatusBarPanelClickEventHandler(object sender, StatusBarPanelClickEventArgs e);
[System.ComponentModel.Browsable(false)]
[System.Obsolete("`StatusBar` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `StatusStrip` instead.", false, DiagnosticId="WFDEV006", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public delegate void StatusBarPanelClickEventHandler(object sender, StatusBarPanelClickEventArgs e);
type StatusBarPanelClickEventHandler = delegate of obj * StatusBarPanelClickEventArgs -> unit
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("`StatusBar` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `StatusStrip` instead.", false, DiagnosticId="WFDEV006", UrlFormat="https://aka.ms/winforms-warnings/{0}")>]
type StatusBarPanelClickEventHandler = delegate of obj * StatusBarPanelClickEventArgs -> unit
Public Delegate Sub StatusBarPanelClickEventHandler(sender As Object, e As StatusBarPanelClickEventArgs)
Parametri
- sender
- Object
La fonte dell'evento.
Oggetto StatusBarPanelClickEventArgs contenente i dati dell'evento.
- Attributi
Commenti
Quando si crea un StatusBarPanelClickEventHandler delegato, si identifica il metodo che gestirà l'evento. Per associare l'evento al gestore eventi, aggiungere un'istanza del delegato all'evento. Il gestore eventi viene chiamato ogni volta che si verifica l'evento, a meno che non si rimuovono il delegato. Per altre informazioni sui delegati del gestore eventi, vedere Gestione e generazione di eventi.
Metodi di estensione
| Nome | Descrizione |
|---|---|
| GetMethodInfo(Delegate) |
Obsoleti.
Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato. |