Пример #1
0
 private static UxTheme.SafeThemeHandle LoadBasicThemeData(IWin32Window nWindow)
 {
     return(UxTheme.OpenThemeDataEx(new HandleRef(nWindow, nWindow.Handle), BasicClassListValue,
                                    UxTheme.OpenThemeDataOptions.None));
 }
 private static UxTheme.SafeThemeHandle LoadAeroThemeData(NativeWindow nWindow)
 {
     return(UxTheme.OpenThemeDataEx(new HandleRef(nWindow, nWindow.Handle), DwmClassListValue,
                                    UxTheme.OpenThemeDataOptions.None));
 }