27 references to MouseButtons
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ComboBox.cs (1)
1943
OnMouseMove(new MouseEventArgs(
MouseButtons
, 0, point.X, point.Y, 0));
winforms\Managed\System\WinForms\Control.cs (4)
13353
MouseButtons realState =
MouseButtons
;
13374
if (realState !=
MouseButtons
) {
13383
if (realState !=
MouseButtons
) {
13476
OnMouseMove(new MouseEventArgs(
MouseButtons
, 0, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam), 0));
winforms\Managed\System\WinForms\DataGrid.cs (1)
4261
MouseButtons mouse =
MouseButtons
;
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
618
Control.
MouseButtons
== MouseButtons.Left)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1050
Control.
MouseButtons
== MouseButtons.Left)
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
581
Control.
MouseButtons
== MouseButtons.Left &&
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\Form.cs (1)
7617
if (CaptureInternal &&
MouseButtons
== (MouseButtons)0) {
winforms\Managed\System\WinForms\HelpProvider.cs (1)
196
if (Control.
MouseButtons
!= MouseButtons.None && helpString != null) {
winforms\Managed\System\WinForms\ListView.cs (1)
6312
if (listViewState[LISTVIEWSTATE_expectingMouseUp] && !listViewState[LISTVIEWSTATE_mouseUpFired] &&
MouseButtons
== MouseButtons.None)
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
825
OnMouseMove(new MouseEventArgs(Control.
MouseButtons
, 0, 0, 0, 0));
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\RichTextBox.cs (1)
3872
MouseButtons b = Control.
MouseButtons
;
winforms\Managed\System\WinForms\TextBox.cs (3)
637
if (SelectionLength == 0 && Control.
MouseButtons
== MouseButtons.None) {
877
MouseButtons realState =
MouseButtons
;
880
if (realState ==
MouseButtons
&&
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
129
return (Control.
MouseButtons
== MouseButtons.Left) && (Control.ModifierKeys == Keys.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\WorkflowView.cs (2)
1160
MouseEventArgs eventArgs = new MouseEventArgs(Control.
MouseButtons
, 1, clientPoint.X, clientPoint.Y, 0);
1177
MouseEventArgs eventArgs = new MouseEventArgs(Control.
MouseButtons
, 1, clientPoint.X, clientPoint.Y, 0);