彩色下拉框源码

 

彩色下拉框源码,点击可以查看大图
需      要: 0.0 金币
折      扣: 100 (% 折)
 
相关搜索: 下拉框 
下载次数: 12
支持一下(0)
0.00%
踩一下(0)
0.00%
  • 下载等级:
  • 编  号: 20140425154003
  • 应用服务器IIS
  • 数据库
  • 操作系统Windows
  • 浏览器兼容IE6.0及以前,Firefox,Chrome
  • 开发软件VS2005
  • 是否编译
  • 应用程序窗口
  • 是否原创免费版
  • 更新日期: 2014-05-15
  • 大  小: 3.79K
  • 浏览次量: 2071
  • 开发者链接: 官网  演示
  • 相  关: 违规举报
  • 收  藏:( 1 人收藏) 加入收藏
  • 此内容校验人员: admin
分享到:   
skt123  
 参谋军士 上传于/2014-05-15 15:31:33
三星会员   
   
Asp.net实现的彩色下拉框源码
 
该源码主要是演示如何读取系统颜色并在下拉框中的每个条目中显示对应的颜色,该源码主要展示以下内容:
    1、如何获得System.Drawing.KnownColor颜色控件的列表枚举
    2、如何排除系统环境颜色,如“Active Border”
    3、如何分配颜色到下拉框的每个条目
 
开发背景:
    有人曾经要我开发一个根据不同选择而显示不同颜色的管理工具。我开始考虑利用下拉框来实现条目背景及显示颜色根据条目名称不同而进行变化,根据这个思路我在网上搜了半天也没有找到任何相关的解决方案,最后我想到了一个比当初需求要复杂的方案(包括数据库),所以我尝试着找到一个更简单的实现方案。
 
This code-source demonstrates how to read system colors and to color-in each row of a drop down list. In this example, I will show:
 
How to get a list of color names from the System.Drawing.KnownColor enumeration 
How to exclude system environment colors, e.g. "Active Border" 
How to assign color to each row of the drop down list 
 
Background
I was asked to make an admin tool where different types of appointments can be set. These appointments would be of unique color and the admin could change the color of the appointment type at any time. 
 
I began to think of a drop down list where the name of the colors would be displayed and the background of that row would be of that color. With a view to that, I searched the web and couldn't find any solutions for a long time. Then I finally found a solution that seemed much more complex than needed, involving a database. So I tried to find an easier solution.
 
 
 
作者:FuadBinOmar
 购买记录
ycbbg
新兵
yjjustdoit
新兵
会员评论:  

一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!

二、互相尊重,对自己的言论和行为负责。

  验证码:
 
反馈请帮助我们提高!意见反馈