42 references to ToHdcScope
System.Windows.Forms (42)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
111using DeviceContextHdcScope hdc = _deviceContext.ToHdcScope(ApplyGraphicsProperties.None);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (6)
136using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 191using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 239using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 297using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 360using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 446using DeviceContextHdcScope hdc = deviceContext.ToHdcScope();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
90using DeviceContextHdcScope hdc = deviceContext.ToHdcScope();
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
99using DeviceContextHdcScope hdc = deviceContext.ToHdcScope();
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (2)
78using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 239using DeviceContextHdcScope hdc = deviceContext.ToHdcScope();
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (1)
317using DeviceContextHdcScope hdc = deviceContext.ToHdcScope();
System\Windows\Forms\Rendering\ControlPaint.cs (11)
743using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 775using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 802using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 834using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 861using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 903using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 935using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 977using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 1196using DeviceContextHdcScope hdc = context.ToHdcScope(); 1980using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 2043using DeviceContextHdcScope hdc = dc.ToHdcScope(TextRenderer.GetApplyStateFlags(dc, format));
System\Windows\Forms\Rendering\TextRenderer.cs (2)
307using DeviceContextHdcScope hdc = dc.ToHdcScope(GetApplyStateFlags(dc, flags)); 543using DeviceContextHdcScope hdc = dc.ToHdcScope(GetApplyStateFlags(dc, flags));
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (17)
215using DeviceContextHdcScope hdc = dc.ToHdcScope(); 244using DeviceContextHdcScope hdc = dc.ToHdcScope(); 271using DeviceContextHdcScope hdc = dc.ToHdcScope(); 347using DeviceContextHdcScope hdc = dc.ToHdcScope(); 375using DeviceContextHdcScope hdc = dc.ToHdcScope(); 409using DeviceContextHdcScope hdc = dc.ToHdcScope(); 436using DeviceContextHdcScope hdc = dc.ToHdcScope(); 455using DeviceContextHdcScope hdc = dc.ToHdcScope(); 536using DeviceContextHdcScope hdc = dc.ToHdcScope(); 575using DeviceContextHdcScope hdc = dc.ToHdcScope(); 605using DeviceContextHdcScope hdc = dc.ToHdcScope(); 632using DeviceContextHdcScope hdc = dc.ToHdcScope(); 663using DeviceContextHdcScope hdc = dc.ToHdcScope(); 686using DeviceContextHdcScope hdc = dc.ToHdcScope(); 708using DeviceContextHdcScope hdc = dc.ToHdcScope(); 720using DeviceContextHdcScope hdc = dc.ToHdcScope(); 754using DeviceContextHdcScope hdc = dc.ToHdcScope();