9 instantiations of ObjectScope
System.Windows.Forms (6)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3710
using (ObjectScope fontScope =
new
(hFont))
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
701
using ObjectScope halftoneScope =
new
(halftone);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1476
using ObjectScope objectScope =
new
(halftone);
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1802
using ObjectScope pen =
new
(style switch
1829
using ObjectScope pen =
new
(PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)));
2044
using ObjectScope brush =
new
(PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(backColor)));
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
82
using ObjectScope hFont =
new
(listBox.Font.ToHFONT());
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
181
using ObjectScope font =
new
(Font.ToHFONT());
System\Windows\Forms\Design\DesignerUtils.cs (1)
531
using ObjectScope hFont =
new
(ctrl.Font.ToHFONT());
10 references to ObjectScope
System.Private.Windows.Core (1)
Windows\Win32\Graphics\Gdi\ObjectScope.cs (1)
26
public static implicit operator HGDIOBJ(in
ObjectScope
objectScope) => objectScope.HGDIOBJ;
System.Windows.Forms (6)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3710
using (
ObjectScope
fontScope = new(hFont))
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
701
using
ObjectScope
halftoneScope = new(halftone);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1476
using
ObjectScope
objectScope = new(halftone);
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1802
using
ObjectScope
pen = new(style switch
1829
using
ObjectScope
pen = new(PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)));
2044
using
ObjectScope
brush = new(PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(backColor)));
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
82
using
ObjectScope
hFont = new(listBox.Font.ToHFONT());
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
181
using
ObjectScope
font = new(Font.ToHFONT());
System\Windows\Forms\Design\DesignerUtils.cs (1)
531
using
ObjectScope
hFont = new(ctrl.Font.ToHFONT());