文件名称:ComboBox
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-05-15
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- zpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
美化ComboBox,为窗体中的下拉列表框各个下拉项着色,这样在数据量较多的时候,更容易区分和取值。
private static Brush[] listBoxBrushes //该数组用来存储绘制listBox1背景的Brush对象
private static int place = -1 //颜色位置的取值
private static bool naught = true //判断是否重绘
Category("控件的重绘设置"), Descr iption("判断是否进行渐变色的设置")] //在“属性”窗口中显示DataStyle属性-Beautify the ComboBox form the drop-down list box drop-down items coloring, so that the amount of data is more easier to distinguish and value. private static Brush [] listBoxBrushes //The array is used to store drawing listBox1 background Brush object private static int place =-1 //color position value private static bool naught = true //determine whether to redraw Category ( redraw Settings " ), Descr iption (" to determine whether the gradient settings " )]// In the Properties window display DataStyle property
private static Brush[] listBoxBrushes //该数组用来存储绘制listBox1背景的Brush对象
private static int place = -1 //颜色位置的取值
private static bool naught = true //判断是否重绘
Category("控件的重绘设置"), Descr iption("判断是否进行渐变色的设置")] //在“属性”窗口中显示DataStyle属性-Beautify the ComboBox form the drop-down list box drop-down items coloring, so that the amount of data is more easier to distinguish and value. private static Brush [] listBoxBrushes //The array is used to store drawing listBox1 background Brush object private static int place =-1 //color position value private static bool naught = true //determine whether to redraw Category ( redraw Settings " ), Descr iption (" to determine whether the gradient settings " )]// In the Properties window display DataStyle property
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ComboBox\BeautifyComboBox\BeautifyComboBox.csproj
........\................\B_ComboBox.cs
........\................\B_ComboBox.Designer.cs
........\................\B_ComboBox.resx
........\................\Form1.cs
........\................\Form1.Designer.cs
........\................\Form1.resx
........\................\Program.cs
........\................\...perties\AssemblyInfo.cs
........\................\..........\Resources.Designer.cs
........\................\..........\Resources.resx
........\................\..........\Settings.Designer.cs
........\................\..........\Settings.settings
........\BeautifyComboBox.sln
........\BeautifyComboBox.suo
........\................\Properties
........\BeautifyComboBox
ComboBox