39 references to Right
System.Windows.Forms (26)
System\Windows\Forms\Control.cs (5)
2638
buttons |= MouseButtons.
Right
;
11680
if (button == MouseButtons.
Right
)
12564
WmMouseDown(ref m, MouseButtons.
Right
, 2);
12573
WmMouseDown(ref m, MouseButtons.
Right
, 1);
12577
WmMouseUp(ref m, MouseButtons.
Right
, 1);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
1633
OnMouseDown(new MouseEventArgs(MouseButtons.
Right
, 1, Ptrc.X, Ptrc.Y, 0));
1709
OnMouseDown(new MouseEventArgs(MouseButtons.
Right
, 1, Pt.X, Pt.Y, 0));
1729
OnMouseUp(new MouseEventArgs(MouseButtons.
Right
, 1, ptRBtnUp.X, ptRBtnUp.Y, 0));
System\Windows\Forms\Controls\ListView\ListView.cs (5)
6583
OnItemDrag(new ItemDragEventArgs(MouseButtons.
Right
, item));
6710
MouseButtons button = nmhdr->code == PInvoke.NM_CLICK ? MouseButtons.Left : MouseButtons.
Right
;
7069
WmMouseDown(ref m, MouseButtons.
Right
, 2);
7072
WmMouseDown(ref m, MouseButtons.
Right
, 1);
7073
_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)
3004
TvnBeginDrag(MouseButtons.
Right
, nmtv);
3024
button = nmtv->hdr.code == PInvoke.NM_CLICK ? MouseButtons.Left : MouseButtons.
Right
;
3359
WmMouseDown(ref m, MouseButtons.
Right
, 2);
3382
WmMouseDown(ref m, MouseButtons.
Right
, 1);
3383
_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
)