StatusBarPanelClickEventHandler Delegar

Definição

Cuidado

StatusBar is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use StatusStrip instead.

Representa o método que manipulará o PanelClick evento de um 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)

Parâmetros

sender
Object

A fonte do evento.

e
StatusBarPanelClickEventArgs

Um StatusBarPanelClickEventArgs que contém os dados do evento.

Atributos

Comentários

Ao criar um StatusBarPanelClickEventHandler delegado, você identifica o método que manipulará o evento. Para associar o evento ao manipulador de eventos, adicione uma instância do delegado ao evento. O manipulador de eventos é chamado sempre que o evento ocorre, a menos que você remova o delegado. Para obter mais informações sobre representantes do manipulador de eventos, consulte Manipulando e levantando eventos.

Métodos de Extensão

Nome Description
GetMethodInfo(Delegate)
Obsoleto.

Obtém um objeto que representa o método representado pelo delegado especificado.

Aplica-se a

Confira também