Esempio n. 1
0
 internal static void RenderFileIconUrl(TextWriter writer, UserContext userContext, string fileExtension, int iconFlag)
 {
     SmallIconManager.SmallIcon fileSmallIcon = SmallIconManager.GetFileSmallIcon(userContext, fileExtension, iconFlag);
     SmallIconManager.RenderIconUrl(writer, userContext, fileSmallIcon);
 }
Esempio n. 2
0
 internal static void RenderFileIcon(TextWriter writer, UserContext userContext, string fileExtension, int iconFlag, bool showTooltip, string styleClass, params string[] extraAttributes)
 {
     SmallIconManager.SmallIcon fileSmallIcon = SmallIconManager.GetFileSmallIcon(userContext, fileExtension, iconFlag);
     SmallIconManager.RenderIcon(writer, userContext, fileSmallIcon, showTooltip, styleClass, extraAttributes);
 }