TreeNodeMouseClickEventArgs 构造函数

定义

初始化 TreeNodeMouseClickEventArgs 类的新实例。

public:
 TreeNodeMouseClickEventArgs(System::Windows::Forms::TreeNode ^ node, System::Windows::Forms::MouseButtons button, int clicks, int x, int y);
public TreeNodeMouseClickEventArgs (System.Windows.Forms.TreeNode node, System.Windows.Forms.MouseButtons button, int clicks, int x, int y);
new System.Windows.Forms.TreeNodeMouseClickEventArgs : System.Windows.Forms.TreeNode * System.Windows.Forms.MouseButtons * int * int * int -> System.Windows.Forms.TreeNodeMouseClickEventArgs
Public Sub New (node As TreeNode, button As MouseButtons, clicks As Integer, x As Integer, y As Integer)

参数

node
TreeNode

被单击的节点。

button
MouseButtons

MouseButtons 成员之一。

clicks
Int32

发生的单击的数目。

x
Int32

单击发生处的 x 坐标。

y
Int32

单击发生处的 y 坐标。

适用于