14 references to DeviceContextType
System.Windows.Forms (14)
misc\GDI\DeviceContext.cs (14)
147
if( this.dcType ==
DeviceContextType
.Display )
231
this.dcType =
DeviceContextType
.Display;
255
if( dcType ==
DeviceContextType
.Display )
280
return new DeviceContext( hdc,
DeviceContextType
.NamedDevice );
293
return new DeviceContext( hdc,
DeviceContextType
.Information );
311
return new DeviceContext(compatibleDc,
DeviceContextType
.Memory);
324
return new DeviceContext(hdc,
DeviceContextType
.Unknown);
371
case
DeviceContextType
.Display:
377
case
DeviceContextType
.Information:
378
case
DeviceContextType
.NamedDevice:
391
case
DeviceContextType
.Memory:
411
case
DeviceContextType
.Unknown:
433
Debug.Assert( this.dcType ==
DeviceContextType
.Display, "Calling GetDC from a non display/window device." );
454
if (this.hDC != IntPtr.Zero && this.dcType ==
DeviceContextType
.Display)