Edytuj

Udostępnij za pośrednictwem


TreeNodeMouseClickEventArgs Constructor

Definition

Initializes a new instance of the TreeNodeMouseClickEventArgs class.

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);
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)

Parameters

node
TreeNode

The node that was clicked.

button
MouseButtons

One of the MouseButtons members.

clicks
Int32

The number of clicks that occurred.

x
Int32

The x-coordinate where the click occurred.

y
Int32

The y-coordinate where the click occurred.

Applies to