36 references to HandledMouseEventArgs
System.Windows.Forms.Tests (35)
System\Windows\Forms\ButtonBaseTests.cs (4)
6832
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4) };
6833
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4) };
6834
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4) };
6835
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4) };
System\Windows\Forms\ButtonTests.cs (12)
2647
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4) };
2648
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4) };
2649
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4) };
2650
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4) };
2699
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4), false };
2700
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4), true };
2701
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4), false };
2702
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4), false };
2803
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4), 0 };
2804
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4), expectedCallCount };
2805
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4), 0 };
2806
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4), 0 };
System\Windows\Forms\ControlTests.Handlers.cs (1)
3628
HandledMouseEventArgs eventArgs =
new
(MouseButtons.Left, 1, 2, 3, 4);
System\Windows\Forms\DataGridViewTests.cs (2)
3795
DataGridViewColumnDividerDoubleClickEventArgs args = new(0,
new
(MouseButtons.Left, 2, 0, 0, 0));
3800
args = new(1,
new
(MouseButtons.Left, 2, 0, 0, 0));
System\Windows\Forms\HandledMouseEventArgsTests.cs (1)
17
HandledMouseEventArgs e =
new
(button, clicks, x, y, delta);
System\Windows\Forms\RadioButtonTests.cs (12)
1052
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4) };
1053
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4) };
1054
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4) };
1055
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4) };
1105
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4), false };
1106
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4), expectedIsHandleCreated };
1107
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4), false };
1108
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4), false };
1208
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.None, 1, 2, 3, 4) };
1209
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4) };
1210
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Middle, 1, 2, 3, 4) };
1211
yield return new object[] { flatStyle, new
HandledMouseEventArgs
(MouseButtons.Right, 1, 2, 3, 4) };
System\Windows\Forms\ScrollBarTests.cs (1)
2211
HandledMouseEventArgs eventArgs =
new
(MouseButtons.Left, 1, 2, 3, 4);
System\Windows\Forms\SplitterTests.cs (2)
1958
yield return new object[] { new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4) };
2000
yield return new object[] { new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4), true };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
156
new
HandledMouseEventArgs
(MouseButtons.Left, 1, 2, 3, 4)