• 大小: 0.09M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签:

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;

namespace BeautifyComboBox
{
    public partial class B_ComboBox : ComboBox
    {
        public B_ComboBox()
        {
            InitializeComponent();
            this.DrawMode = DrawMode.OwnerDrawFixed;
            //this.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListBox_DrawItem);
        }

        #region 变量
        private static Brush[] listBoxBrushes;//该数组用来存储绘制listBox1背景的Brush对象
        private static int place = -1;//颜色位置的取值
        private static bool naught = true;//判断是否重绘
        #endregion

        #region 属性

        private bool TGradualC = false;
        [Browsable(true) Category(“控件的重绘设置“) Description(“判断是否进行渐变色的设置“)] //在“属性”窗口中显示Datastyle属性
        public bool GradualC
        {
            get {

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         938  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox.sln
     文件       16384  2009-02-12 14:51  sj\01\BeautifyComboBox\BeautifyComboBox.suo
     文件        4112  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\BeautifyComboBox.csproj
     文件        5789  2009-02-12 14:49  sj\01\BeautifyComboBox\BeautifyComboBox\B_ComboBox.cs
     文件        1225  2009-02-12 14:48  sj\01\BeautifyComboBox\BeautifyComboBox\B_ComboBox.Designer.cs
     文件        5995  2009-02-12 14:48  sj\01\BeautifyComboBox\BeautifyComboBox\B_ComboBox.resx
     文件         366  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\Form1.cs
     文件        2641  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\Form1.Designer.cs
     文件        5814  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\Form1.resx
     文件         497  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox\Program.cs
     文件       11264  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\bin\Debug\BeautifyComboBox.exe
     文件       34304  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\bin\Debug\BeautifyComboBox.pdb
     文件       14328  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\bin\Debug\BeautifyComboBox.vshost.exe
     文件         490  2007-07-21 01:33  sj\01\BeautifyComboBox\BeautifyComboBox\bin\Debug\BeautifyComboBox.vshost.exe.manifest
     文件         180  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.B_ComboBox.resources
     文件        1271  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.csproj.FileListAbsolute.txt
     文件         910  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.csproj.GenerateResource.Cache
     文件       11264  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.exe
     文件         180  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.Form1.resources
     文件       34304  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.pdb
     文件         180  2009-02-12 14:50  sj\01\BeautifyComboBox\BeautifyComboBox\obj\Debug\BeautifyComboBox.Properties.Resources.resources
     文件        1364  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox\Properties\AssemblyInfo.cs
     文件        2882  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox\Properties\Resources.Designer.cs
     文件        5612  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox\Properties\Resources.resx
     文件        1101  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox\Properties\Settings.Designer.cs
     文件         249  2009-02-12 14:47  sj\01\BeautifyComboBox\BeautifyComboBox\Properties\Settings.settings
     文件         947  2008-11-29 09:27  sl\重绘ListBox控件\重绘ListBox控件.sln
     文件       18944  2009-02-07 16:22  sl\重绘ListBox控件\重绘ListBox控件.suo
     文件        5852  2009-01-04 15:17  sl\重绘ListBox控件\重绘ListBox控件\DrawListBox.cs
     文件        1080  2008-12-12 14:59  sl\重绘ListBox控件\重绘ListBox控件\DrawListBox.Designer.cs
     文件         402  2009-01-04 15:18  sl\重绘ListBox控件\重绘ListBox控件\Form1.cs
............此处省略19个文件信息

评论

共有 条评论