2 writes to dcType
System.Windows.Forms (2)
misc\GDI\DeviceContext.cs (2)
231
this.
dcType
= DeviceContextType.Display;
250
this.
dcType
= dcType;
6 references to dcType
System.Windows.Forms (6)
misc\GDI\DeviceContext.cs (6)
130
return this.
dcType
;
147
if( this.
dcType
== DeviceContextType.Display )
164
Debug.Assert( this.hDC != IntPtr.Zero, "Attempt to use deleted HDC - DC type: " + this.
dcType
);
369
switch( this.
dcType
)
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)