Exemple #1
0
 // Methods
 static XPThemes()
 {
     XPThemes.currentTheme = XPThemeName.None;
     XPThemes.theme        = null;
     XPThemes.theme        = new XPTheme();
     XPThemes.InitTheme();
 }
Exemple #2
0
 public static void InitTheme()
 {
     XPThemes.theme.Open(string.Empty);
     if (XPThemes.theme.themesAvailable)
     {
         XPThemes.DetectCurrentTheme();
     }
     else
     {
         XPThemes.currentTheme = XPThemeName.None;
     }
 }