42 references to ToHdcScope
System.Windows.Forms (42)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
111
using DeviceContextHdcScope hdc = _deviceContext.
ToHdcScope
(ApplyGraphicsProperties.None);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (6)
136
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
191
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
239
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
297
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
360
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
446
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
90
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
99
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (2)
78
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
239
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (1)
317
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
System\Windows\Forms\Rendering\ControlPaint.cs (11)
715
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
747
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
774
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
806
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
833
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
875
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
907
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
949
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
1168
using DeviceContextHdcScope hdc = context.
ToHdcScope
();
1922
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
1985
using DeviceContextHdcScope hdc = dc.
ToHdcScope
(TextRenderer.GetApplyStateFlags(dc, format));
System\Windows\Forms\Rendering\TextRenderer.cs (2)
307
using DeviceContextHdcScope hdc = dc.
ToHdcScope
(GetApplyStateFlags(dc, flags));
543
using DeviceContextHdcScope hdc = dc.
ToHdcScope
(GetApplyStateFlags(dc, flags));
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (17)
215
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
244
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
271
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
347
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
375
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
409
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
436
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
455
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
536
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
575
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
605
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
632
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
663
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
686
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
708
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
720
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();
754
using DeviceContextHdcScope hdc = dc.
ToHdcScope
();