76 references to MouseEventArgs
System.Windows.Forms (66)
winforms\Managed\System\WinForms\AxHost.cs (3)
5087
base.OnMouseMove(new
MouseEventArgs
( (MouseButtons)(((int)button) << 20), 1, x, y, 0));
5114
base.OnMouseUp(new
MouseEventArgs
((MouseButtons)(((int)button) << 20), 1, x, y, 0));
5141
base.OnMouseDown(new
MouseEventArgs
((MouseButtons)(((int)button) << 20), 1, x, y, 0));
winforms\Managed\System\WinForms\ComboBox.cs (14)
1786
OnMouseDown(new
MouseEventArgs
(MouseButtons.Left, 1, Ptlc.X, Ptlc.Y, 0));
1802
OnMouseDown(new
MouseEventArgs
(MouseButtons.Middle, 1, Ptmc.X, Ptmc.Y, 0));
1818
OnMouseDown(new
MouseEventArgs
(MouseButtons.Right, 1, Ptrc.X, Ptrc.Y, 0));
1832
OnMouseDown(new
MouseEventArgs
(MouseButtons.Left, 1, Ptl.X, Ptl.Y, 0));
1853
OnClick(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
1854
OnMouseClick(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
1870
OnMouseUp(new
MouseEventArgs
(MouseButtons.Left, 1, pt.X, pt.Y, 0));
1883
OnMouseDown(new
MouseEventArgs
(MouseButtons.Middle, 1, P.X, P.Y, 0));
1901
OnMouseDown(new
MouseEventArgs
(MouseButtons.Right, 1, Pt.X, Pt.Y, 0));
1910
OnMouseUp(new
MouseEventArgs
(MouseButtons.Middle, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
1924
OnMouseUp(new
MouseEventArgs
(MouseButtons.Right, 1, ptRBtnUp.X, ptRBtnUp.Y, 0));
1943
OnMouseMove(new
MouseEventArgs
(MouseButtons, 0, point.X, point.Y, 0));
3739
OnClick(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3740
OnMouseClick(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\Control.cs (7)
13390
OnMouseDown(new
MouseEventArgs
(button, clicks, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
13476
OnMouseMove(new
MouseEventArgs
(MouseButtons, 0, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
13519
OnClick(new
MouseEventArgs
(button, clicks, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
13520
OnMouseClick(new
MouseEventArgs
(button, clicks, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
13526
OnDoubleClick(new
MouseEventArgs
(button, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
13527
OnMouseDoubleClick(new
MouseEventArgs
(button, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
13532
OnMouseUp(new
MouseEventArgs
(button, clicks, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\DataGridViewCellMouseEventArgs.cs (1)
25
MouseEventArgs e) :
base
(e.Button, e.Clicks, localX, localY, e.Delta)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
5814
MouseEventArgs me = new
MouseEventArgs
(e.Button,
5845
me = new
MouseEventArgs
(e.Button,
5896
me = new
MouseEventArgs
(e.Button,
5961
MouseEventArgs meTmp = new
MouseEventArgs
(e.Button,
16807
MouseEventArgs meTmp = new
MouseEventArgs
(e.Button, 2, e.X, e.Y, e.Delta);
winforms\Managed\System\WinForms\HandledMouseEvent.cs (1)
24
public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta, bool defaultHandledValue) :
base
(button, clicks, x, y, delta)
winforms\Managed\System\WinForms\ListBox.cs (4)
2421
OnClick(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
2422
OnMouseClick(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
2430
OnDoubleClick(new
MouseEventArgs
(MouseButtons.Left, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
2431
OnMouseDoubleClick(new
MouseEventArgs
(MouseButtons.Left, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\ListView.cs (6)
5421
OnMouseDown(new
MouseEventArgs
(button, clicks, x, y, 0));
5979
OnMouseClick(new
MouseEventArgs
(button, 1, pos.X, pos.Y, 0));
5983
OnMouseUp(new
MouseEventArgs
(button, 1, pos.X, pos.Y, 0));
6284
OnMouseDoubleClick(new
MouseEventArgs
(downButton, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
6288
OnMouseUp(new
MouseEventArgs
(downButton, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
6314
OnMouseUp(new
MouseEventArgs
(downButton, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\NotifyIcon.cs (7)
812
OnDoubleClick(new
MouseEventArgs
(button, 2, 0, 0, 0));
813
OnMouseDoubleClick(new
MouseEventArgs
(button, 2, 0, 0, 0));
816
OnMouseDown(new
MouseEventArgs
(button, clicks, 0, 0, 0));
825
OnMouseMove(new
MouseEventArgs
(Control.MouseButtons, 0, 0, 0, 0));
834
OnMouseUp(new
MouseEventArgs
(button, 0, 0, 0, 0));
837
OnClick(new
MouseEventArgs
(button, 0, 0, 0, 0));
838
OnMouseClick(new
MouseEventArgs
(button, 0, 0, 0, 0));
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
2791
this.OnMouseMove(new
MouseEventArgs
(me.Button, me.Clicks, newPt.X, newPt.Y, me.Delta));
2805
this.OnMouseDown(new
MouseEventArgs
(me.Button, me.Clicks, newPt.X, newPt.Y, me.Delta));
winforms\Managed\System\WinForms\StatusBarPanelClickEvent.cs (1)
38
:
base
(button, clicks, x, y, 0) {
winforms\Managed\System\WinForms\ToolStrip.cs (3)
3501
mea = new
MouseEventArgs
(mea.Button, mea.Clicks,itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
3564
mea = new
MouseEventArgs
(mea.Button, mea.Clicks,itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
3611
mea = new
MouseEventArgs
(mea.Button, mea.Clicks,itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
winforms\Managed\System\WinForms\TreeNodeClickEventArgs.cs (1)
34
:
base
(button, clicks, x, y, 0) {
winforms\Managed\System\WinForms\TreeView.cs (10)
2666
OnMouseDown(new
MouseEventArgs
(button, clicks, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3036
OnClick(new
MouseEventArgs
(button, 1, pos.X, pos.Y, 0));
3037
OnMouseClick(new
MouseEventArgs
(button, 1, pos.X, pos.Y, 0));
3060
OnMouseUp(new
MouseEventArgs
(button, 1, pos.X, pos.Y, 0));
3265
OnMouseDown(new
MouseEventArgs
(MouseButtons.Left, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3300
OnClick(new
MouseEventArgs
(downButton, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3301
OnMouseClick(new
MouseEventArgs
(downButton, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3309
OnDoubleClick(new
MouseEventArgs
(downButton, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3310
OnMouseDoubleClick(new
MouseEventArgs
(downButton, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
3315
OnMouseUp(new
MouseEventArgs
(downButton, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1166
return new
MouseEventArgs
(e.Button, e.Clicks, point.x, point.y , e.Delta);
System.Workflow.ComponentModel (10)
AuthoringOM\Design\ActivityDesigner.cs (8)
2591
OnMouseDown(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2608
OnMouseMove(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2625
OnMouseUp(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2642
OnMouseDoubleClick(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2659
OnMouseEnter(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2676
OnMouseHover(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2725
OnMouseDragBegin(initialPoint, new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
2742
OnMouseDragMove(new
MouseEventArgs
(e.Button, e.Clicks, logicalPoint.X, logicalPoint.Y, e.Delta));
AuthoringOM\Design\WorkflowView.cs (2)
1160
MouseEventArgs eventArgs = new
MouseEventArgs
(Control.MouseButtons, 1, clientPoint.X, clientPoint.Y, 0);
1177
MouseEventArgs eventArgs = new
MouseEventArgs
(Control.MouseButtons, 1, clientPoint.X, clientPoint.Y, 0);