Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

StatusBarPanelClickEventArgs Class

Provides data for the PanelClick event.

For a list of all members of this type, see StatusBarPanelClickEventArgs Members.

System.Object
   System.EventArgs
      System.Windows.Forms.MouseEventArgs
         System.Windows.Forms.StatusBarPanelClickEventArgs

[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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

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.

Requirements

Namespace: System.Windows.Forms

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)

See Also

StatusBarPanelClickEventArgs Members | System.Windows.Forms Namespace | MouseEventArgs | PanelClick | StatusBar | StatusBarPanel

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.