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)
750
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
782
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
809
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
841
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
868
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
910
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
942
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
984
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
1203
using DeviceContextHdcScope hdc = context.
ToHdcScope
();
1986
using DeviceContextHdcScope hdc = deviceContext.
ToHdcScope
();
2049
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
();