3 references to new
System.Drawing.Common (3)
System\Drawing\Printing\DefaultPrintController.cs (1)
32_hdc = new(document.PrinterSettings.CreateDeviceContext(_modeHandle));
System\Drawing\Printing\PreviewPrintController.cs (1)
37_hdc = new(document.PrinterSettings.CreateInformationContext(_modeHandle ?? HGLOBAL.Null));
System\Drawing\Printing\PrinterSettings.cs (1)
510g.PrintingHelper = new HdcHandle(hdc); // Graphics will dispose of the DeviceContext.