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)
715using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 747using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 774using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 806using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 833using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 875using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 907using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 949using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 1168using DeviceContextHdcScope hdc = context.ToHdcScope(); 1922using DeviceContextHdcScope hdc = deviceContext.ToHdcScope(); 1985using 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();