2 writes to dcType
System.Drawing (2)
misc\GDI\DeviceContext.cs (2)
231this.dcType = DeviceContextType.Display; 250this.dcType = dcType;
6 references to dcType
System.Drawing (6)
misc\GDI\DeviceContext.cs (6)
130return this.dcType; 147if( this.dcType == DeviceContextType.Display ) 164Debug.Assert( this.hDC != IntPtr.Zero, "Attempt to use deleted HDC - DC type: " + this.dcType ); 369switch( this.dcType ) 433Debug.Assert( this.dcType == DeviceContextType.Display, "Calling GetDC from a non display/window device." ); 454if (this.hDC != IntPtr.Zero && this.dcType == DeviceContextType.Display)