20 references to Middle
System.Windows.Forms (20)
winforms\Managed\System\WinForms\ComboBox.cs (3)
1802
OnMouseDown(new MouseEventArgs(MouseButtons.
Middle
, 1, Ptmc.X, Ptmc.Y, 0));
1883
OnMouseDown(new MouseEventArgs(MouseButtons.
Middle
, 1, P.X, P.Y, 0));
1910
OnMouseUp(new MouseEventArgs(MouseButtons.
Middle
, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\Control.cs (4)
3362
if (UnsafeNativeMethods.GetKeyState((int)Keys.MButton) < 0) buttons |= MouseButtons.
Middle
;
14300
WmMouseDown(ref m, MouseButtons.
Middle
, 2);
14306
WmMouseDown(ref m, MouseButtons.
Middle
, 1);
14309
WmMouseUp(ref m, MouseButtons.
Middle
, 1);
winforms\Managed\System\WinForms\HtmlElementEventArgs.cs (1)
55
buttons |= MouseButtons.
Middle
;
winforms\Managed\System\WinForms\ListView.cs (3)
6298
WmMouseDown(ref m, MouseButtons.
Middle
, 2);
6301
WmMouseDown(ref m, MouseButtons.
Middle
, 1);
6302
downButton = MouseButtons.
Middle
;
winforms\Managed\System\WinForms\MouseEvent.cs (1)
61
Debug.Assert((button & (MouseButtons.Left | MouseButtons.None | MouseButtons.Right | MouseButtons.
Middle
| MouseButtons.XButton1 | MouseButtons.XButton2)) ==
winforms\Managed\System\WinForms\NotifyIcon.cs (3)
863
WmMouseDown(ref msg, MouseButtons.
Middle
, 2);
866
WmMouseDown(ref msg, MouseButtons.
Middle
, 1);
869
WmMouseUp(ref msg, MouseButtons.
Middle
);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3890
if ((b & MouseButtons.
Middle
) == MouseButtons.
Middle
) {
winforms\Managed\System\WinForms\TreeView.cs (3)
3326
WmMouseDown(ref m, MouseButtons.
Middle
, 2);
3331
WmMouseDown(ref m, MouseButtons.
Middle
, 1);
3332
downButton = MouseButtons.
Middle
;