예제 #1
0
 internal static string GetMasterPageThemeColorResource(MasterPageTheme theme, MasterPageThemeColor color, string resourceName)
 {
     return(string.Format(CultureInfo.InvariantCulture, "Images.MasterPageThemes.{0}{1}.{2}", theme, ((color == MasterPageThemeColor.NotSet) ? null : color.ToString()), resourceName));
 }
예제 #2
0
 internal static string GetMasterPageThemeColorStyleSheet(MasterPageTheme theme, MasterPageThemeColor color)
 {
     return(string.Format(CultureInfo.InvariantCulture, "Styles.MasterPageThemes.{0}{1}.css", theme, ((color == MasterPageThemeColor.NotSet) ? null : color.ToString())));
 }