12 references to MeasurementDCInfo
System.Windows.Forms (12)
misc\GDI\DeviceContext.cs (2)
538if (previousFont != null && MeasurementDCInfo.IsMeasurementDC(this)) { 550MeasurementDCInfo.ResetIfIsMeasurementDC(this.hDC);
misc\GDI\DeviceContext2.cs (7)
187if (MeasurementDCInfo.IsMeasurementDC(this)) 189WindowsFont font = MeasurementDCInfo.LastUsedFont; 281if (MeasurementDCInfo.IsMeasurementDC(this)) { 288if (MeasurementDCInfo.IsMeasurementDC(this)) 292MeasurementDCInfo.LastUsedFont = font; 297MeasurementDCInfo.Reset(); 311MeasurementDCInfo.ResetIfIsMeasurementDC(this.Hdc);
misc\GDI\WindowsGraphics2.cs (3)
396if (font != null && !MeasurementDCInfo.IsMeasurementDC(this.dc)) { 460if (MeasurementDCInfo.IsMeasurementDC(this.DeviceContext)) 462dtparams = MeasurementDCInfo.GetTextMargins(this,font);