25 references to DeviceContextHdcScope
System.Private.Windows.GdiPlus (1)
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (1)
66/// Prefer to use <see cref="DeviceContextHdcScope(IHdcContext, bool, bool)"/>.
System.Windows.Forms (24)
System\Windows\Forms\Control.cs (4)
7840using DeviceContextHdcScope hdc = new(e); 9005using DeviceContextHdcScope hdc = new(e); 9059using DeviceContextHdcScope hdcNoParent = new(e); 9100using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
400using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
82using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (3)
47using (DeviceContextHdcScope hdc = new(e)) 70using DeviceContextHdcScope hdc = new(e); 209using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (3)
77using DeviceContextHdcScope hdc = new(e); 146using DeviceContextHdcScope hdc = new(e); 206using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (3)
542using DeviceContextHdcScope hdc = new(e); 609using DeviceContextHdcScope hdc = new(e); 634using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1260using (DeviceContextHdcScope hdc = new(e))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1140using (DeviceContextHdcScope scope = new(e, applyGraphicsState: false))
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
617using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
142using (DeviceContextHdcScope hdc = new(pevent))
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
636using DeviceContextHdcScope hdc = new(e); 669using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (2)
397using DeviceContextHdcScope hdc = new(e); 447using DeviceContextHdcScope hdc = new(e);
System\Windows\Forms\Form.cs (1)
4464using DeviceContextHdcScope hdc = new(e);