語言

StatusBarPanelClickEventArgs 建構函式

定義

初始化 StatusBarPanelClickEventArgs 類別的新執行個體。

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)

參數

statusBarPanel
StatusBarPanel

那 StatusBarPanel 代表被點擊的面板。

button
MouseButtons

MouseButtons其中一個值代表在點擊滑鼠按鈕時StatusBarPanel的 .

clicks
Int32

滑鼠按鍵被點擊的次數。

x
Int32

滑鼠點擊的 x 座標。

y
Int32

滑鼠點擊的 y 座標。

適用於

另請參閱