改变按钮背景颜色,单击按钮实现了两种不同颜色相互转换

上传者: cj0107 | 上传时间: 2021-06-10 10:29:48 | 文件大小: 4.09MB | 文件类型: ZIP
该程序可以改变按钮的背景颜色,通过单击该按钮可以实现在灰色与绿色之间的转换,同时可以在对应的编辑框中看到变化后的现象,适合于在下位机测试软件中应用。例如单击一个按钮使之长时间变绿,表明下位机在不停的测试。

文件下载

资源详情

[{"title":"( 36 个子文件 4.09MB ) 改变按钮背景颜色,单击按钮实现了两种不同颜色相互转换","children":[{"title":"TestColorButton","children":[{"title":"TestBC.dsp <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"TestBC.rc <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"TestBC.opt <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"TestBC.plg <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"ButtonColor.h <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"TestBC.cpp <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"ButtonColor.cpp <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"TestBCDlg.cpp <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"TestBC.ilk <span style='color:#111;'> 205.39KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 356.00KB </span>","children":null,"spread":false},{"title":"TestBC.sbr <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 201.00KB </span>","children":null,"spread":false},{"title":"TestBC.exe <span style='color:#111;'> 104.11KB </span>","children":null,"spread":false},{"title":"ButtonColor.obj <span style='color:#111;'> 15.94KB </span>","children":null,"spread":false},{"title":"TestBC.pdb <span style='color:#111;'> 289.00KB </span>","children":null,"spread":false},{"title":"TestBC.pch <span style='color:#111;'> 6.56MB </span>","children":null,"spread":false},{"title":"TestBC.res <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"TestBC.bsc <span style='color:#111;'> 2.99MB </span>","children":null,"spread":false},{"title":"TestBCDlg.sbr <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"ButtonColor.sbr <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.70KB </span>","children":null,"spread":false},{"title":"TestBC.obj <span style='color:#111;'> 14.25KB </span>","children":null,"spread":false},{"title":"TestBCDlg.obj <span style='color:#111;'> 26.08KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false}],"spread":false},{"title":"TestBC.dsw <span style='color:#111;'> 535B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"TestBCDlg.h <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"TestBC.clw <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"TestBC.rc2 <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"TestBC.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"TestBC.ncb <span style='color:#111;'> 81.00KB </span>","children":null,"spread":false},{"title":"TestBC.aps <span style='color:#111;'> 20.63KB </span>","children":null,"spread":false},{"title":"TestBC.h <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • qq_26953777 :
    没有注释,代码看不懂
    2016-03-02
  • u013034706 :
    可以用,但代码写的看不懂,没啥注释。
    2014-07-10
  • lslocal870403 :
    这是啥嘛,先说明自己用的语言
    2014-06-23
  • linkang1024 :
    完全看不懂 又没注释~~~~
    2013-12-02
  • zhengyueru :
    成功借鉴 完成了作业 不错
    2013-08-31

免责申明

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