17 references to DeviceContextType
System.Drawing (17)
misc\GDI\DeviceContext.cs (17)
87
DeviceContextType
dcType;
126
public
DeviceContextType
DeviceContextType
147
if( this.dcType ==
DeviceContextType
.Display )
231
this.dcType =
DeviceContextType
.Display;
247
private DeviceContext(IntPtr hDC,
DeviceContextType
dcType)
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)