---
title: "MouseEventArgs Constructor (MouseButtons, Int32, PointF)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_WinControls_MouseEventArgs_ctor_3_b16b20da.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# MouseEventArgs Constructor (MouseButtons, Int32, PointF)
 
Create and initializes a new [MouseEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MouseEventArgs.htm.md) object.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Sub New ( _button As MouseButtons, _clicks As Integer, _location As PointF _
)
```
 
```csharp
public MouseEventArgs(MouseButtons button,int clicks,PointF location
)
```
 
### Parameters
 
 - button
     - Type: [System.Windows.Forms.MouseButtons](http://msdn2.microsoft.com/en-us/53t1tw1k)
One of the [MouseButtons](http://msdn2.microsoft.com/en-us/53t1tw1k) values.

 - clicks
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The number of times the mouse button was pressed and released.

 - location
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The coordinates of the mouse as a point, in pixels.
   
## See Also

### Reference

- [MouseEventArgs Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MouseEventArgs.htm.md)
- [MouseEventArgs Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_MouseEventArgs_ctor.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
