System.Windows.Forms.StatusBarPanelClickEventArgs Class

Provides data for the StatusBar.PanelClick event.

See Also: StatusBarPanelClickEventArgs Members

Syntax

public class StatusBarPanelClickEventArgs : MouseEventArgs

Remarks

The StatusBar.PanelClick event occurs when the user clicks a panel on the System.Windows.Forms.StatusBar. A System.Windows.Forms.StatusBarPanelClickEventArgs specifies which System.Windows.Forms.StatusBarPanel was clicked, the mouse button that was pressed, how many times it was pressed, and the coordinates of the mouse click at the time the System.Windows.Forms.StatusBarPanel was clicked. You can use the data provided by this class in an event handler for the StatusBar.PanelClick event to perform tasks related to the System.Windows.Forms.StatusBarPanel being clicked. For example, if a System.Windows.Forms.StatusBarPanel is used to display the time, you could create an event handler for the StatusBar.PanelClick event and use data provided by this class to display a dialog box that allows you to modify the date and time on the system.

Requirements

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