140 references to None
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (2)
5346
_ => MouseButtons.
None
,
11617
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)
16463
if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.
None
)
26253
if (MouseButtons != MouseButtons.
None
)
26368
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)
5971
if (m.LParamInternal != 0 && MouseButtons == MouseButtons.
None
)
7015
if (_listViewState[LISTVIEWSTATE_expectingMouseUp] && !_listViewState[LISTVIEWSTATE_mouseUpFired] && MouseButtons == MouseButtons.
None
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3118
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)
27
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)
1788
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)
13430
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 0, 0 };
13431
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 1, 2 };
13432
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, -1, -2 };
13433
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 0, 0 };
13434
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 1, 2 };
13435
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDOWN, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, -1, -2 };
13451
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, 0, 0 };
13452
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, 1, 2 };
13453
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 2, -1, -2 };
13454
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, 0, 0 };
13455
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, 1, 2 };
13456
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONDBLCLK, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 2, -1, -2 };
13786
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, IntPtr.Zero, IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 0, 0 };
13787
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(1, 2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, 1, 2 };
13788
yield return new object[] { true, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(-1, -2), IntPtr.Zero, (IntPtr)250, MouseButtons.
None
, 1, -1, -2 };
13789
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 0, 0 };
13790
yield return new object[] { false, (int)PInvokeCore.WM_XBUTTONUP, PARAM.FromLowHigh(1, 2), IntPtr.Zero, IntPtr.Zero, MouseButtons.
None
, 1, 1, 2 };
13791
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)
3808
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3811
yield return new object[] { new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3814
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3817
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3820
yield return new object[] { new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3823
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
3841
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3844
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3847
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3850
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3853
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
3856
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), false };
4104
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4107
yield return new object[] { new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4110
yield return new object[] { new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4113
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4116
yield return new object[] { new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4119
yield return new object[] { new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4137
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4140
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4143
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4146
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4149
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4152
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), ButtonState.Normal };
4444
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4447
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4450
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4453
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4456
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4459
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)) };
4519
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4522
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, -1, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4525
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(-1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4528
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(0, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4531
yield return new object[] { enableHeadersVisualStyles, new DataGridViewCellMouseEventArgs(1, 0, 0, 0, new MouseEventArgs(MouseButtons.
None
, 0, 0, 0, 0)), expectedButtonState1 };
4534
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)
15419
menuStrip1.MoveMouse(new MouseEventArgs(MouseButtons.
None
, 0, new Point(i, 5)));
15426
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) };