StatusBarPanelClickEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the StatusBarPanelClickEventArgs class.
public:
StatusBarPanelClickEventArgs(System::Windows::Forms::StatusBarPanel ^ statusBarPanel, System::Windows::Forms::MouseButtons button, int clicks, int x, int y);
public StatusBarPanelClickEventArgs (System.Windows.Forms.StatusBarPanel statusBarPanel, System.Windows.Forms.MouseButtons button, int clicks, int x, int y);
new System.Windows.Forms.StatusBarPanelClickEventArgs : System.Windows.Forms.StatusBarPanel * System.Windows.Forms.MouseButtons * int * int * int -> System.Windows.Forms.StatusBarPanelClickEventArgs
Public Sub New (statusBarPanel As StatusBarPanel, button As MouseButtons, clicks As Integer, x As Integer, y As Integer)
Parameters
- statusBarPanel
- StatusBarPanel
The StatusBarPanel that represents the panel that was clicked.
- button
- MouseButtons
One of the MouseButtons values that represents the mouse buttons that were clicked while over the StatusBarPanel.
- clicks
- Int32
The number of times that the mouse button was clicked.
- x
- Int32
The x-coordinate of the mouse click.
- y
- Int32
The y-coordinate of the mouse click.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈