控制ComboBox,TextBox,DateTimePicker在Enable=false时的前景和背景色

上传者: wang_j_p | 上传时间: 2019-12-21 21:35:34 | 文件大小: 66KB | 文件类型: rar
控制ComboBox,TextBox,DateTimePicker在Enable=false时的前景色和背景色, 改变它们默认的灰色, DisenableForeColor 前景色 DisenableBackColor 背景色 内有源码和例子,

文件下载

资源详情

[{"title":"( 37 个子文件 66KB ) 控制ComboBox,TextBox,DateTimePicker在Enable=false时的前景和背景色","children":[{"title":"ControlEx","children":[{"title":"TextBoxEx.sln <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Test","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Test.csproj.GenerateResource.Cache <span style='color:#111;'> 842B </span>","children":null,"spread":false},{"title":"Test.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"Test.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Test.exe <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"Test.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true},{"title":"Test.csproj.FileList.txt <span style='color:#111;'> 297B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ControlEx.pdb <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"Test.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"Test.exe <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"Test.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"ControlEx.dll <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"Test.csproj <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"TextBoxEx.suo <span style='color:#111;'> 27.00KB </span>","children":null,"spread":false},{"title":"TextBoxEx","children":[{"title":"TextBoxEx.cs <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ControlEx.pdb <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"ControlEx.dll <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ControlEx.csproj.FileList.txt <span style='color:#111;'> 142B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ControlEx.pdb <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"ControlEx.dll <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DateTimePickerEx.Designer.cs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ComboBoxEx.cs <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"ComboBoxEx.Designer.cs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ControlEx.csproj <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"DateTimePickerEx.cs <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"TextBoxEx.Designer.cs <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 布说 :
    这不是DataTimePicker重写修改的颜色。改颜色直接变成list,日期没法实时改。
    2018-10-08
  • huaiyu007 :
    效果是有的,但是太简陋了,尤其是日历的那个,谈不上解决方案
    2017-12-15
  • wang7391 :
    感谢分享,对我很有用!
    2013-10-04
  • xiyuexiyuexiyue :
    C#开发的控件。
    2013-09-18
  • Smason :
    标签没有标好,我还以为是vb.net,结果是C#,对我没啥帮助。不过还是感谢分享!
    2013-08-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明