System.Windows.Forms.StatusBar.PanelClick Event

Occurs when a System.Windows.Forms.StatusBarPanel object on a System.Windows.Forms.StatusBar control is clicked.

Syntax

public event StatusBarPanelClickEventHandler PanelClick

Remarks

You can use this event to perform tasks when a panel within a System.Windows.Forms.StatusBar control is clicked. The data provided to the event through the System.Windows.Forms.StatusBarPanelClickEventArgs passed as a parameter to the event handler enables you to determine the System.Windows.Forms.StatusBarPanel that was clicked by the user in order to perform tasks on the selected panel.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0