140 references to None
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (2)
5310
_ => MouseButtons.
None
,
11589
MouseButtons.
None
,
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
869
if (mevent.Button != MouseButtons.
None
&& GetFlag(FlagMousePressed))
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
369
if (MouseButtons == MouseButtons.
None
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
16444
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
)
26233
if (MouseButtons != MouseButtons.
None
)
26348
if (MouseButtons != MouseButtons.
None
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellMouseEventArgs.cs (1)
14
: base(e?.Button ?? MouseButtons.
None
, e?.Clicks ?? 0, localX, localY, e?.Delta ?? 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
9
: base(e?.Button ?? MouseButtons.
None
, e?.Clicks ?? 0, e?.X ?? 0, e?.Y ?? 0, e?.Delta ?? 0, e?.Handled ?? false)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
5967
if (m.LParamInternal != 0 && MouseButtons == MouseButtons.
None
)
7011
if (_listViewState[LISTVIEWSTATE_expectingMouseUp] && !_listViewState[LISTVIEWSTATE_mouseUpFired] && MouseButtons == MouseButtons.
None
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3123
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
)
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
589
if (SelectionLength == 0 && MouseButtons == MouseButtons.
None
)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
925
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
733
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
)
System\Windows\Forms\Controls\WebBrowser\HtmlElementEventArgs.cs (1)
28
MouseButtons buttons = MouseButtons.
None
;
System\Windows\Forms\Form.cs (1)
7113
if (Capture && MouseButtons == MouseButtons.
None
)
System\Windows\Forms\Help\HelpProvider.cs (1)
123
if (Control.MouseButtons != MouseButtons.
None
&& !string.IsNullOrEmpty(helpString))
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.cs (1)
1790
MouseButtons button = MouseButtons.
None
;
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
452
if ((rules & SelectionRules.AllSizeable) != SelectionRules.None || Control.MouseButtons == MouseButtons.
None
)
System.Windows.Forms.Tests (120)
System\Windows\Forms\ButtonBaseTests.cs (14)
6096
yield return new object[] { flatStyle, enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };
6145
yield return new object[] { flatStyle, enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0), 0 };
6509
yield return new object[] { flatStyle, enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };
6623
yield return new object[] { flatStyle, enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0), 0 };
6687
yield return new object[] { flatStyle, enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0), 0 };
6754
yield return new object[] { flatStyle, enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0), 0 };
6828
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
6832
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
8847
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 0, 0 };
8848
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 1, 2 };
8849
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, -1, -2 };
8850
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 0, 0 };
8851
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 1, 2 };
8852
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, -1, -2 };
System\Windows\Forms\ButtonTests.cs (8)
2250
yield return new object[] { enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };
2295
yield return new object[] { enabled, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0), 0 };
2643
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
2647
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
2695
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4), false };
2699
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4), false };
2799
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4), 0 };
2803
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4), 0 };
System\Windows\Forms\ControlTests.Methods.cs (18)
13421
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 0, 0 };
13422
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 1, 2 };
13423
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, -1, -2 };
13424
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 0, 0 };
13425
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 1, 2 };
13426
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, -1, -2 };
13442
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, 0, 0 };
13443
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, 1, 2 };
13444
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, -1, -2 };
13445
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, 0, 0 };
13446
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, 1, 2 };
13447
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, -1, -2 };
13777
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 0, 0 };
13778
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 1, 2 };
13779
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, -1, -2 };
13780
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 0, 0 };
13781
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 1, 2 };
13782
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, -1, -2 };
System\Windows\Forms\ControlTests.Properties.cs (2)
9259
[InlineData(0, 0, 0, 0, 0, MouseButtons.
None
)]
9260
[InlineData(1, 2, 3, 4, 5, MouseButtons.
None
)]
System\Windows\Forms\DataGridViewCellTests.cs (12)
5497
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5500
yield return new object[] { new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5503
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5506
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5509
yield return new object[] { new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5512
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5530
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5533
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5536
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5539
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5542
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
5545
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
System\Windows\Forms\DataGridViewHeaderCellTests.cs (36)
3811
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3814
yield return new object[] { new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3817
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3820
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3823
yield return new object[] { new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3826
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3844
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3847
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3850
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3853
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3856
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3859
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
4107
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4110
yield return new object[] { new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4113
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4116
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4119
yield return new object[] { new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4122
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4140
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4143
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4146
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4149
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4152
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4155
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4447
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4450
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4453
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4456
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4459
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4462
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4522
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4525
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4528
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4531
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4534
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4537
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
System\Windows\Forms\ItemDragEventArgsTests.cs (2)
11
[InlineData((MouseButtons.
None
- 1))]
21
[InlineData((MouseButtons.
None
- 1), null)]
System\Windows\Forms\LinkLabelLinkClickedEventArgsTests.cs (1)
28
yield return new object[] { new LinkLabel.Link(), MouseButtons.
None
};
System\Windows\Forms\PropertyGridTests.cs (2)
3701
yield return new object[] { new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0), false };
3802
yield return new object[] { new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };
System\Windows\Forms\RadioButtonTests.cs (6)
1048
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
1052
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
1101
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4), false };
1105
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4), false };
1204
yield return new object[] { flatStyle, new MouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
1208
yield return new object[] { flatStyle, new HandledMouseEventArgs(MouseButtons.
None
, 1, 2, 3, 4) };
System\Windows\Forms\ToolStripItemTests.cs (2)
15438
menuStrip1.MoveMouse(new MouseEventArgs(MouseButtons.
None
, 0, new Point(i, 5)));
15445
menuStrip1.MoveMouse(new MouseEventArgs(MouseButtons.
None
, 0, new Point(i, 5)));
System\Windows\Forms\TreeViewTests.cs (2)
5700
yield return new object[] { new ItemDragEventArgs(MouseButtons.
None
) };
6417
yield return new object[] { new TreeNodeMouseClickEventArgs(null, MouseButtons.
None
, 0, 0, 0) };
System\Windows\Forms\UpDownBaseTests.cs (1)
2002
yield return new object[] { new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };
TextBoxBaseTests.cs (13)
5585
yield return new object[] { new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };
7209
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 0, 0 };
7210
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 1, 2 };
7211
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, -1, -2 };
7212
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 0, 0 };
7213
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 1, 2 };
7214
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, -1, -2 };
7230
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, 0, 0 };
7231
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, 1, 2 };
7232
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, -1, -2 };
7233
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, 0, 0 };
7234
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, 1, 2 };
7235
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, -1, -2 };
TrackBarTests.cs (1)
2540
yield return new object[] { new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0) };