4 writes to hCurrentPen
System.Windows.Forms (4)
misc\GDI\DeviceContext.cs (3)
181
hCurrentPen
= hInitialPen = IntUnsafeNativeMethods.GetCurrentObject(new HandleRef(this, hDC), IntNativeMethods.OBJ_PEN);
196
hCurrentPen
= IntPtr.Zero;
528
hCurrentPen
= g.hPen;
misc\GDI\DeviceContext2.cs (1)
373
hCurrentPen
= hObj;
3 references to hCurrentPen
System.Windows.Forms (3)
misc\GDI\DeviceContext.cs (3)
193
if (handle ==
hCurrentPen
) {
195
Debug.Assert(currentPen ==
hCurrentPen
, "DeviceContext thinks a different pen is selected than the HDC");
577
g.hPen =
hCurrentPen
;