15 references to new
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (3)
8302using PaintEventArgs newArgs = new(hdc, newClipRect); 11271using PaintEventArgs pevent = new(dc, rc); 11908pevent = new PaintEventArgs(
System\Windows\Forms\Control.PrintPaintEventArgs.cs (1)
15: base(dc, clipRect, DrawingEventFlags.SaveState)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
54using (PaintEventArgs e = new(screen, default))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (1)
31using (PaintEventArgs pe = new(screen, clipRect: default))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (1)
99using (PaintEventArgs pe = new(screen, clipRect: default))
System.Windows.Forms.Tests (8)
System\Windows\Forms\PaintEventArgsTests.cs (1)
65using PaintEventArgs args = new(hdc, default);
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
31using PaintEventArgs e = new(emf, bounds); 54using PaintEventArgs e = new(emf, bounds); 79using PaintEventArgs e = new(emf, bounds); 105using PaintEventArgs e = new(emf, bounds); 131using PaintEventArgs e = new(emf, bounds); 158using PaintEventArgs e = new(emf, bounds);
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
32using PaintEventArgs e = new(emf, bounds);