MouseEventArgs(MouseButtons, Int32, Int32, Int32, Int32) 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 MouseEventArgs class.
public:
MouseEventArgs(System::Windows::Forms::MouseButtons button, int clicks, int x, int y, int delta);
public MouseEventArgs (System.Windows.Forms.MouseButtons button, int clicks, int x, int y, int delta);
new System.Windows.Forms.MouseEventArgs : System.Windows.Forms.MouseButtons * int * int * int * int -> System.Windows.Forms.MouseEventArgs
Public Sub New (button As MouseButtons, clicks As Integer, x As Integer, y As Integer, delta As Integer)
Parameters
- button
- MouseButtons
One of the MouseButtons values that indicate which mouse button was pressed.
- clicks
- Int32
The number of times a mouse button was pressed.
- x
- Int32
The x-coordinate of a mouse click, in pixels.
- y
- Int32
The y-coordinate of a mouse click, in pixels.
- delta
- Int32
A signed count of the number of detents the wheel has rotated.
Applies to
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.