39 references to Right
System.Windows.Forms (26)
System\Windows\Forms\Control.cs (5)
2817
buttons |= MouseButtons.
Right
;
12409
if (button == MouseButtons.
Right
)
13293
WmMouseDown(ref m, MouseButtons.
Right
, 2);
13302
WmMouseDown(ref m, MouseButtons.
Right
, 1);
13306
WmMouseUp(ref m, MouseButtons.
Right
, 1);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
1715
OnMouseDown(new MouseEventArgs(MouseButtons.
Right
, 1, Ptrc.X, Ptrc.Y, 0));
1791
OnMouseDown(new MouseEventArgs(MouseButtons.
Right
, 1, Pt.X, Pt.Y, 0));
1811
OnMouseUp(new MouseEventArgs(MouseButtons.
Right
, 1, ptRBtnUp.X, ptRBtnUp.Y, 0));
System\Windows\Forms\Controls\ListView\ListView.cs (5)
6585
OnItemDrag(new ItemDragEventArgs(MouseButtons.
Right
, item));
6712
MouseButtons button = nmhdr->code == PInvoke.NM_CLICK ? MouseButtons.Left : MouseButtons.
Right
;
7071
WmMouseDown(ref m, MouseButtons.
Right
, 2);
7074
WmMouseDown(ref m, MouseButtons.
Right
, 1);
7075
_downButton = MouseButtons.
Right
;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (2)
101
if ((mouseButtons & MouseButtons.
Right
) == MouseButtons.
Right
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2580
if (e.Button == MouseButtons.Left || (e.Button == MouseButtons.
Right
&& _state[s_stateSupportsRightClick]))
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
869
(e.Button == MouseButtons.
Right
&& SupportsRightClick))
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
3220
TvnBeginDrag(MouseButtons.
Right
, nmtv);
3240
button = nmtv->hdr.code == PInvoke.NM_CLICK ? MouseButtons.Left : MouseButtons.
Right
;
3575
WmMouseDown(ref m, MouseButtons.
Right
, 2);
3598
WmMouseDown(ref m, MouseButtons.
Right
, 1);
3599
_downButton = MouseButtons.
Right
;
System\Windows\Forms\Controls\WebBrowser\HtmlElementEventArgs.cs (1)
36
buttons |= MouseButtons.
Right
;
System\Windows\Forms\NotifyIcon.cs (3)
756
WmMouseDown(MouseButtons.
Right
, 2);
759
WmMouseDown(MouseButtons.
Right
, 1);
767
WmMouseUp(MouseButtons.
Right
);
System.Windows.Forms.Design (13)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
347
else if (me.Button == MouseButtons.
Right
)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (3)
358
if (_behaviorService.OnMouseDown(MouseButtons.
Right
, mouseLoc))
382
if (_behaviorService.OnMouseUp(MouseButtons.
Right
))
406
if (_behaviorService.OnMouseDoubleClick(MouseButtons.
Right
, mouseLoc))
System\Windows\Forms\Design\ControlDesigner.cs (5)
1862
? MouseButtons.
Right
1885
? MouseButtons.
Right
1940
else if (button == MouseButtons.
Right
)
1961
button = MouseButtons.
Right
;
2008
? MouseButtons.
Right
System\Windows\Forms\Design\SelectionUIService.cs (1)
729
if (me.Button == MouseButtons.
Right
&& oldContainerDrag is not null && !oldDragMoved)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
454
if (glyph is not null && button == MouseButtons.
Right
)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
434
if (e.Button == MouseButtons.
Right
)
1107
if (e.Button == MouseButtons.
Right
)