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