资源简介
3000多个常用工具图标,16 32配套的相对应的图标,图标在library文件夹中
代码片段和文件信息
// Code are under MIT License
// http://ciconlibrary.codeplex.com/license
// Copyright (c) 2014 Jonathan Magnan. All rights reserved.
// http://www.zzzportal.com
//
// All icons are licensed under a Creative Commons Attribution 3.0 License.
// http://creativecommons.org/licenses/by/3.0/us/
// Copyright 2009-2013 FatCow Web Hosting. All rights reserved.
// http://www.fatcow.com/free-icons
using System;
using System.Web.UI;
using Z.IconLibrary;
//www.51aspx.com
namespace Z.Examples.Web
{
public partial class Default : Page
{
protected void Page_Load(object sender EventArgs e)
{
Page.AddIconstyleSheet();
if (!Page.IsPostBack)
{
uiCssClass16.CssClass = Icon.Accept.GetCssClass16(); // required web.config setup
uiCssClass32.CssClass = Icon.Accept.GetCssClass32(); // required web.config setup
uiUrl16.ImageUrl = Icon.Accept.GetUrl16(); // required web.config setup
uiUrl32.ImageUrl = Icon.Accept.GetUrl32(); // required web.config setup
uiWebResourceUrl16.ImageUrl = Icon.Accept.GetWebResourceUrl16(); // no requirement
uiWebResourceUrl32.ImageUrl = Icon.Accept.GetWebResourceUrl32(); // no requirement
uiIcon.DataSource = Enum.GetValues(typeof (Icon));
uiIcon.DataBind();
}
uiIcon.SelectedIndexChanged += uiIcon_SelectedIndexChanged;
}
private void uiIcon_SelectedIndexChanged(object sender EventArgs e)
{
var icon = (Icon) Enum.Parse(typeof (Icon) uiIcon.SelectedValue);
uiDynamicCssClass16.CssClass = icon.GetCssClass16();
uiDynamicCssClass32.CssClass = icon.GetCssClass32();
uiDynamicUrl16.ImageUrl = icon.GetUrl16();
uiDynamicUrl32.ImageUrl = icon.GetUrl32();
uiDynamicWebResourceUrl16.ImageUrl = icon.GetWebResourceUrl16();
uiDynamicWebResourceUrl32.ImageUrl = icon.GetWebResourceUrl32();
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.Icon.Examples.Web\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.Icon.Examples.Web\Properties\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.Icon.Examples.Web\bin\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.Icon.Examples.Web\obj\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.Icon.Examples.Web\obj\Debug\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.Icon.Examples.Web\obj\Debug\TempPE\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\ExtensionMethods\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\ExtensionMethods\Icon\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\ExtensionMethods\System.Web.Page\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\Icon16\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\Icon32\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\Properties\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\bin\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\bin\Debug\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\obj\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\obj\Debug\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\obj\Debug\TempPE\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary.Light\resources\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\ExtensionMethods\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\ExtensionMethods\Icon\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\ExtensionMethods\System.Web.Page\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\Icon16\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\Icon32\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\Properties\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\bin\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\obj\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\obj\Debug\
目录 0 2017-10-29 02:46 CSharpIconLibrary_v1.0\Z.IconLibrary\obj\Debug\TempPE\
............此处省略7792个文件信息
- 上一篇:Visual C#通用范例开发金典源代码1-10章
- 下一篇:C# 魔塔源码
相关资源
- icon c#精美图标
- semantic ui 最全的css icon文件
- c# icon 图标 特效 WINDOWS任务栏 动态生
- C# WPF 状态栏图标特效 类似QQ/MSN的状态
- IconPanel ToolTip
- C# 读取 apk文件信息(AndroidManifest.xm
- 获取文件图标(icon 类库源码)
- winform C# 根据文件扩展名(文件类型)
- C# 界面 icon 图标
- C#转换图片格式小工具源码支持icon/
- 用Ninject 实现webapi ApiController
- WebApi(ApiController)强制返回xm<x&g
- 仿QQ右下角消息提示 图标闪烁效果(
- ASP.NET MVC 实现IControllerFactory
- C#的图标库 CSharpIconLibrary_v1.0
- c# 获取程序icon图标
- C# 增加自定义系统右键菜单(带Icon图
评论
共有 条评论