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)
19private static Dictionary<string, ThemeHandle>? t_themeHandles; // per-thread cache of ThemeHandle objects. 816ThemeHandle? themeHandle = t_themeHandles[className]; 823themeHandle = ThemeHandle.Create(className, false); 850if (!t_themeHandles.TryGetValue(className, out ThemeHandle? themeHandle)) 853themeHandle = ThemeHandle.Create(className, throwExceptionOnFail); 881public static ThemeHandle? Create(string className, bool throwExceptionOnFail) 886internal static ThemeHandle? Create(string className, bool throwExceptionOnFail, HWND hWndRef)