Esempio n. 1
0
 internal static int Add(string themeFileName, bool useCssSprites)
 {
     if (!ThemeFileList.idTable.ContainsKey(themeFileName))
     {
         ThemeFileList.ThemeFile item = new ThemeFileList.ThemeFile((ThemeFileId)ThemeFileList.nameTable.Count, themeFileName, useCssSprites);
         ThemeFileList.idTable[themeFileName] = ThemeFileList.nameTable.Count;
         ThemeFileList.nameTable.Add(item);
     }
     return(ThemeFileList.idTable[themeFileName]);
 }
Esempio n. 2
0
 public ThemeFile(ThemeFileId id, string name, bool useCssSprites, bool isResource)
 {
     this = new ThemeFileList.ThemeFile(id, name, useCssSprites, isResource, false);
 }
Esempio n. 3
0
 public ThemeFile(ThemeFileId id, string name)
 {
     this = new ThemeFileList.ThemeFile(id, name, true);
 }