9 references to new
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
3399MeasureItemEventArgs mievent = new(graphics, i, original); 3610MeasureItemEventArgs mie = new(graphics, itemID, ItemHeight);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1957MeasureItemEventArgs mie = new(graphics, i, ItemHeight); 2382MeasureItemEventArgs mie = new(graphics, (int)mis->itemID, ItemHeight);
System\Windows\Forms\Layout\MeasureItemEventArgs.cs (1)
15: this(graphics, index, 0)
System.Windows.Forms.Tests (4)
System\Windows\Forms\ComboBoxTests.cs (2)
336control.TriggerMeasureItem(new MeasureItemEventArgs(Graphics.FromHwnd(IntPtr.Zero), 0, 0)); 341control.TriggerMeasureItem(new MeasureItemEventArgs(Graphics.FromHwnd(IntPtr.Zero), 0, 0));
System\Windows\Forms\ListBoxTests.cs (1)
5642yield return new object[] { new MeasureItemEventArgs(graphics, 0, 0) };
System\Windows\Forms\MeasureItemEventArgsTests.cs (1)
25MeasureItemEventArgs e = new(graphics, index, itemHeight);