2 writes to savedGraphicsState
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PaintEvent.cs (2)
136
savedGraphicsState
= graphics.Save(); // See ResetGraphics() below
185
savedGraphicsState
= null;
3 references to savedGraphicsState
System.Windows.Forms (3)
winforms\Managed\System\WinForms\PaintEvent.cs (3)
182
Debug.Assert(dc == IntPtr.Zero ||
savedGraphicsState
!= null, "Called ResetGraphics more than once?");
183
if (
savedGraphicsState
!= null) {
184
graphics.Restore(
savedGraphicsState
);