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