22 instantiations of GraphicsStateScope
System.Windows.Forms (22)
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)
617
using GraphicsStateScope scope =
new
(pevent.Graphics);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
412
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 (4)
164
using GraphicsStateScope state =
new
(e.Graphics);
248
using GraphicsStateScope state =
new
(e.Graphics);
370
using GraphicsStateScope imageState =
new
(e.Graphics);
375
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)
1101
using GraphicsStateScope graphicsState =
new
(graphics);
System\Windows\Forms\ParentBackgroundRenderer.cs (2)
20
using GraphicsStateScope state =
new
(graphics);
82
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);
21 references to 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\PopupButtonDarkModeRenderer.cs (1)
126
using
GraphicsStateScope
graphicsStateScope = new(graphics);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
617
using
GraphicsStateScope
scope = new(pevent.Graphics);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
412
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 (4)
164
using
GraphicsStateScope
state = new(e.Graphics);
248
using
GraphicsStateScope
state = new(e.Graphics);
370
using
GraphicsStateScope
imageState = new(e.Graphics);
375
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)
1101
using
GraphicsStateScope
graphicsState = new(graphics);
System\Windows\Forms\ParentBackgroundRenderer.cs (2)
20
using
GraphicsStateScope
state = new(graphics);
82
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);