2 writes to oldBitmap
System.Drawing (2)
commonui\System\Drawing\BufferedGraphicsContext.cs (2)
400
oldBitmap
= SafeNativeMethods.SelectObject(new HandleRef(this, compatDC), new HandleRef(this, dib));
531
oldBitmap
= IntPtr.Zero;
3 references to oldBitmap
System.Drawing (3)
commonui\System\Drawing\BufferedGraphicsContext.cs (3)
527
if (
oldBitmap
!= IntPtr.Zero && compatDC != IntPtr.Zero)
530
SafeNativeMethods.SelectObject(new HandleRef(this, compatDC), new HandleRef(this,
oldBitmap
));
549
Debug.Assert(
oldBitmap
== IntPtr.Zero);