7 references to GraphicsStateScope
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (2)
8296using GraphicsStateScope saveState = new(g); 8327using GraphicsStateScope saveState = new(newArgs.Graphics);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeRendererBase.cs (1)
49using (new GraphicsStateScope(graphics))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (4)
1024using GraphicsStateScope graphicsScope = new(g); 1114using GraphicsStateScope graphicsScope = new(g); 1159using (GraphicsStateScope backgroundPaintScope = new(e.Graphics)) 1165using GraphicsStateScope imagePaintScope = new(e.Graphics);