33 references to Right
System.Web.Mobile (4)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
933
if (e.Button == MouseButtons.
Right
)
942
if (e.Button == MouseButtons.
Right
)
UI\MobileControls\Design\Util\EditableTreeList.cs (2)
276
if (e.Button == MouseButtons.
Right
)
285
if (e.Button == MouseButtons.
Right
)
System.Windows.Forms (29)
winforms\Managed\System\WinForms\ComboBox.cs (3)
1818
OnMouseDown(new MouseEventArgs(MouseButtons.
Right
, 1, Ptrc.X, Ptrc.Y, 0));
1901
OnMouseDown(new MouseEventArgs(MouseButtons.
Right
, 1, Pt.X, Pt.Y, 0));
1924
OnMouseUp(new MouseEventArgs(MouseButtons.
Right
, 1, ptRBtnUp.X, ptRBtnUp.Y, 0));
winforms\Managed\System\WinForms\Control.cs (5)
3361
if (UnsafeNativeMethods.GetKeyState((int)Keys.RButton) < 0) buttons |= MouseButtons.
Right
;
13502
if (button == MouseButtons.
Right
) {
14360
WmMouseDown(ref m, MouseButtons.
Right
, 2);
14366
WmMouseDown(ref m, MouseButtons.
Right
, 1);
14369
WmMouseUp(ref m, MouseButtons.
Right
, 1);
winforms\Managed\System\WinForms\HtmlElementEventArgs.cs (1)
52
buttons |= MouseButtons.
Right
;
winforms\Managed\System\WinForms\ListView.cs (5)
5876
LvnBeginDrag(MouseButtons.
Right
, nmlv);
5973
MouseButtons button = nmhdr->code == NativeMethods.NM_CLICK ? MouseButtons.Left : MouseButtons.
Right
;
6305
WmMouseDown(ref m, MouseButtons.
Right
, 2);
6308
WmMouseDown(ref m, MouseButtons.
Right
, 1);
6309
downButton = MouseButtons.
Right
;
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)
875
WmMouseDown(ref msg, MouseButtons.
Right
, 2);
878
WmMouseDown(ref msg, MouseButtons.
Right
, 1);
884
WmMouseUp(ref msg, MouseButtons.
Right
);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3886
if ((b & MouseButtons.
Right
) == MouseButtons.
Right
) {
winforms\Managed\System\WinForms\StatusBar.cs (2)
1077
button = MouseButtons.
Right
;
1085
button = MouseButtons.
Right
;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
2954
if (e.Button == MouseButtons.Left || (e.Button == MouseButtons.
Right
&& state[stateSupportsRightClick])) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
972
(e.Button == MouseButtons.
Right
&& SupportsRightClick)) {
winforms\Managed\System\WinForms\TreeView.cs (5)
3003
TvnBeginDrag(MouseButtons.
Right
, nmtv);
3026
? MouseButtons.Left : MouseButtons.
Right
;
3341
WmMouseDown(ref m, MouseButtons.
Right
, 2);
3359
WmMouseDown(ref m, MouseButtons.
Right
, 1);
3360
downButton = MouseButtons.
Right
;