Provides data for the PanelClick event.
For a list of all members of this type, see StatusBarPanelClickEventArgs Members.
[Visual Basic] Public Class StatusBarPanelClickEventArgs Inherits MouseEventArgs [C#] public class StatusBarPanelClickEventArgs : MouseEventArgs [C++] public __gc class StatusBarPanelClickEventArgs : public MouseEventArgs [JScript] public class StatusBarPanelClickEventArgs extends MouseEventArgs
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
The PanelClick event occurs when the user clicks a panel on the StatusBar. A StatusBarPanelClickEventArgs specifies which 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 StatusBarPanel was clicked. You can use the data provided by this class in an event handler for the PanelClick event to perform tasks related to the StatusBarPanel being clicked. For example, if a StatusBarPanel is used to display the time, you could create an event handler for the 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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)