2 instantiations of OpenThemeDataScope
System.Windows.Forms (2)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (2)
106
using PInvoke.OpenThemeDataScope handle =
new
(HWND.Null, className);
867
PInvoke.OpenThemeDataScope htheme =
new
(hwnd, classList);
7 references to OpenThemeDataScope
System.Windows.Forms (6)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (6)
106
using PInvoke.
OpenThemeDataScope
handle = new(HWND.Null, className);
228
using
var
htheme = OpenThemeData(hwnd, Class);
255
using
var
htheme = OpenThemeData(hwnd, Class);
586
using
var
htheme = OpenThemeData(hwnd, Class);
865
private static PInvoke.
OpenThemeDataScope
OpenThemeData(HWND hwnd, string classList)
867
PInvoke.
OpenThemeDataScope
htheme = new(hwnd, classList);
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.OpenThemeDataScope.cs (1)
33
public static implicit operator HTHEME(in
OpenThemeDataScope
scope) => scope.HTheme;