17 references to None
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
873
if (mevent.Button != MouseButtons.
None
&& GetFlag(FlagMousePressed)) {
winforms\Managed\System\WinForms\Control.cs (2)
6647
return MouseButtons.
None
;
13553
HandledMouseEventArgs e = new HandledMouseEventArgs(MouseButtons.
None
,
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
16899
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
)
26351
if (MouseButtons != MouseButtons.
None
)
26462
if (MouseButtons != MouseButtons.
None
)
winforms\Managed\System\WinForms\HelpProvider.cs (1)
196
if (Control.MouseButtons != MouseButtons.
None
&& helpString != null) {
winforms\Managed\System\WinForms\HtmlElementEventArgs.cs (1)
46
MouseButtons buttons = MouseButtons.
None
;
winforms\Managed\System\WinForms\ListView.cs (1)
6312
if (listViewState[LISTVIEWSTATE_expectingMouseUp] && !listViewState[LISTVIEWSTATE_mouseUpFired] && MouseButtons == MouseButtons.
None
)
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\PropertyGridInternal\PropertyGridView.cs (1)
3317
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
) {
winforms\Managed\System\WinForms\RadioButton.cs (1)
468
if (MouseButtons == MouseButtons.
None
) {
winforms\Managed\System\WinForms\TextBox.cs (1)
637
if (SelectionLength == 0 && Control.MouseButtons == MouseButtons.
None
) {
winforms\Managed\System\WinForms\TrackBar.cs (1)
980
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
) {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
996
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
) {
System.Workflow.ComponentModel (2)
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
101
if (eventArgs.Button == MouseButtons.
None
)
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
61
else if (eventArgs.Button == MouseButtons.
None
)