21 instantiations of GraphicsStateScope
System.Windows.Forms (21)
System\Windows\Forms\Control.cs (2)
9020
using GraphicsStateScope saveState =
new
(g);
9051
using GraphicsStateScope saveState =
new
(newArgs.Graphics);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1245
using GraphicsStateScope scope =
new
(pevent.Graphics);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeRendererBase.cs (1)
122
using (new
GraphicsStateScope
(graphics))
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
126
using GraphicsStateScope graphicsStateScope =
new
(graphics);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
605
using GraphicsStateScope scope =
new
(pevent.Graphics);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
391
using GraphicsStateScope scope =
new
(pevent.Graphics);
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
75
using GraphicsStateScope state =
new
(graphics);
381
using GraphicsStateScope state =
new
(graphics);
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (3)
182
using GraphicsStateScope state =
new
(e.Graphics);
356
using GraphicsStateScope imageState =
new
(e.Graphics);
361
using (GraphicsStateScope state =
new
(e.Graphics))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (4)
1033
using GraphicsStateScope graphicsScope =
new
(g);
1123
using GraphicsStateScope graphicsScope =
new
(g);
1168
using (GraphicsStateScope backgroundPaintScope =
new
(e.Graphics))
1174
using GraphicsStateScope imagePaintScope =
new
(e.Graphics);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
1100
using GraphicsStateScope graphicsState =
new
(graphics);
System\Windows\Forms\ParentBackgroundRenderer.cs (2)
20
using GraphicsStateScope state =
new
(graphics);
78
using GraphicsStateScope state =
new
(graphics);
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
110
using GraphicsStateScope state =
new
(graphics);
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
422
using GraphicsStateScope state =
new
(graphics);
20 references to GraphicsStateScope
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (2)
9020
using
GraphicsStateScope
saveState = new(g);
9051
using
GraphicsStateScope
saveState = new(newArgs.Graphics);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1245
using
GraphicsStateScope
scope = new(pevent.Graphics);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
126
using
GraphicsStateScope
graphicsStateScope = new(graphics);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
605
using
GraphicsStateScope
scope = new(pevent.Graphics);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
391
using
GraphicsStateScope
scope = new(pevent.Graphics);
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
75
using
GraphicsStateScope
state = new(graphics);
381
using
GraphicsStateScope
state = new(graphics);
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (3)
182
using
GraphicsStateScope
state = new(e.Graphics);
356
using
GraphicsStateScope
imageState = new(e.Graphics);
361
using (
GraphicsStateScope
state = new(e.Graphics))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (4)
1033
using
GraphicsStateScope
graphicsScope = new(g);
1123
using
GraphicsStateScope
graphicsScope = new(g);
1168
using (
GraphicsStateScope
backgroundPaintScope = new(e.Graphics))
1174
using
GraphicsStateScope
imagePaintScope = new(e.Graphics);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
1100
using
GraphicsStateScope
graphicsState = new(graphics);
System\Windows\Forms\ParentBackgroundRenderer.cs (2)
20
using
GraphicsStateScope
state = new(graphics);
78
using
GraphicsStateScope
state = new(graphics);
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
110
using
GraphicsStateScope
state = new(graphics);
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
422
using
GraphicsStateScope
state = new(graphics);