44 references to new
System.Windows.Forms.Tests (44)
NumericUpDownTests.cs (5)
36DeviceContextState state = new(emf); 52state = new DeviceContextState(emfButtons); 82DeviceContextState state = new(emfDisabled); 115DeviceContextState state = new(emf); 194state = new DeviceContextState(emfButtons);
System\Windows\Forms\ButtonRenderingTests.cs (5)
40DeviceContextState state = new(emf); 84DeviceContextState state = new(emf); 125DeviceContextState state = new(emf); 171DeviceContextState state = new(emf); 234DeviceContextState state = new(emf);
System\Windows\Forms\CheckBoxRendererTests.cs (4)
27DeviceContextState state = new(emf); 63DeviceContextState state = new(emf); 100DeviceContextState state = new(emf); 135DeviceContextState state = new(emf);
System\Windows\Forms\ControlPaintTests.Rendering.cs (7)
19DeviceContextState state = new(emf); 38DeviceContextState state = new(emf); 98DeviceContextState state = new(emf); 173DeviceContextState state = new(emf); 247DeviceContextState state = new(emf); 321DeviceContextState state = new(emf); 349DeviceContextState state = new(emf);
System\Windows\Forms\DataGridViewTests.Rendering.cs (2)
33DeviceContextState state = new(emf); 165DeviceContextState state = new(emf);
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.Rendering.cs (1)
34DeviceContextState state = new(emf);
System\Windows\Forms\RadioButtonRendererTests.cs (4)
25DeviceContextState state = new(emf); 56DeviceContextState state = new(emf); 93DeviceContextState state = new(emf); 121DeviceContextState state = new(emf);
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
32DeviceContextState state = new(emf);
System\Windows\Forms\TextBoxRendererTests.cs (3)
35DeviceContextState state = new(emf); 64DeviceContextState state = new(emf); 99DeviceContextState state = new(emf);
System\Windows\Forms\TextRendererTests.cs (4)
576DeviceContextState state = new(emf); 674DeviceContextState state = new(emf); 697DeviceContextState state = new(emf); 752DeviceContextState state = new(hdc);
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
27DeviceContextState state = new(emf); 52DeviceContextState state = new(emf); 77DeviceContextState state = new(emf); 103DeviceContextState state = new(emf); 129DeviceContextState state = new(emf); 156DeviceContextState state = new(emf);
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
29DeviceContextState state = new(emf);
TextBoxTests.Rendering.cs (1)
32DeviceContextState state = new(emf);