2 writes to graphics
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PaintEvent.cs (2)
76this.graphics = graphics; 134graphics = Graphics.FromHdcInternal(dc);
9 references to graphics
System.Windows.Forms (9)
winforms\Managed\System\WinForms\PaintEvent.cs (9)
115if (graphics == null) 132if (graphics == null && dc != IntPtr.Zero) { 135graphics.PageUnit = GraphicsUnit.Pixel; 136savedGraphicsState = graphics.Save(); // See ResetGraphics() below 138return graphics; 164if (graphics != null && dc != IntPtr.Zero) { 165graphics.Dispose(); 181if (graphics != null) { 184graphics.Restore(savedGraphicsState);