using System;
using System.Text;
namespace FineUIPro.Web
{
public partial class icons_font : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
LoadData();
}
}
private void LoadData()
{
StringBuilder sb = new StringBuilder();
string iconName = String.Empty;
string iconClassName = " ";
sb.Append("
");
foreach (string icon in Enum.GetNames(typeof(IconFont)))
{
IconFont iconType = (IconFont)Enum.Parse(typeof(IconFont), icon);
if (iconType != IconFont.None)
{
iconName = IconFontHelper.GetName(iconType);
iconClassName = iconName;
}
sb.AppendFormat("{1}
{2}
", iconName, icon, iconClassName);
}
sb.Append("
");
litIcons.Text = sb.ToString();
}
}
}