12 references to new
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
18852
ScrollEventArgs se =
new
(scrollEventType, oldValue, newValue, orientation);
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1448
ScrollEventArgs se =
new
(type, oldValue, value, scrollOrientation);
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
720
ScrollEventArgs se =
new
(type, oldValue, newValue, _scrollOrientation);
System.Windows.Forms.Tests (9)
System\Windows\Forms\ScrollableControlTests.cs (2)
1986
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 1, orientation) };
1987
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 2, orientation) };
System\Windows\Forms\ScrollEventArgsTests.cs (1)
58
ScrollEventArgs e =
new
(type, oldValue, newValue, scroll);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
4725
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 1, orientation) };
4726
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 2, orientation) };
System\Windows\Forms\ToolStripTests.cs (4)
6574
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 1, orientation) };
6575
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 2, orientation) };
6617
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 1, orientation), 0 };
6618
yield return new object[] { new
ScrollEventArgs
(eventType, 1, 2, orientation), expected };