1 instantiation of ThemeHandle
System.Windows.Forms (1)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
893
: new
ThemeHandle
(hTheme);
7 references to ThemeHandle
System.Windows.Forms (7)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (7)
19
private static Dictionary<string,
ThemeHandle
>? t_themeHandles; // per-thread cache of ThemeHandle objects.
816
ThemeHandle
? themeHandle = t_themeHandles[className];
823
themeHandle =
ThemeHandle
.Create(className, false);
850
if (!t_themeHandles.TryGetValue(className, out
ThemeHandle
? themeHandle))
853
themeHandle =
ThemeHandle
.Create(className, throwExceptionOnFail);
881
public static
ThemeHandle
? Create(string className, bool throwExceptionOnFail)
886
internal static
ThemeHandle
? Create(string className, bool throwExceptionOnFail, HWND hWndRef)