基于WPF进度条实现的电池自定义控件

上传者: xbox2xbox | 上传时间: 2019-12-21 22:00:09 | 文件大小: 142KB | 文件类型: zip
一个基于WPF进度条实现的电池自定义控件 实现了充电的效果,有充电的图标,有电量不同百分比的颜色变化,从红到绿。 有纵向和横向两种。 里面有一个可执行的工程,用slider去改变电池progressbar的value,效果不错。 请大家多提宝贵意见。 交流可发送到simonopera#aliyun.com

文件下载

资源详情

[{"title":"( 60 个子文件 142KB ) 基于WPF进度条实现的电池自定义控件","children":[{"title":"WpfBatteryProgressBar","children":[{"title":"WpfBatteryProgressBar","children":[{"title":"BattaryProgressBig.xaml <span style='color:#111;'> 11.43KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"WpfBatteryProgressBar.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.exe <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.vshost.exe <span style='color:#111;'> 21.95KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.pdb <span style='color:#111;'> 71.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"BattaryProgress.xaml.cs <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.csproj <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"App.g.i.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"ProgressTest.g.cs <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"BigBattaryProgress.g.i.cs <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.cs <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.csproj.GenerateResource.Cache <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.exe <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"BattaryProgress.g.i.cs <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.i.cs <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"BattaryProgressBig.g.cs <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"副本 BattaryProgress.g.i.cs <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"ProgressRing.g.i.cs <span style='color:#111;'> 5.45KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.pdb <span style='color:#111;'> 71.50KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Window1.g.i.cs <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"Window1.g.cs <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"BattaryProgressBig.baml <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"Themes","children":null,"spread":false},{"title":"WpfBatteryProgressBar_MarkupCompile.cache <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar_MarkupCompile.i.lref <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"BattaryProgress.baml <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"ProgressTest.baml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar_MarkupCompile.lref <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.g.resources <span style='color:#111;'> 18.75KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"BattaryProgressBig.g.i.cs <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"ProgressTest.g.i.cs <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar_MarkupCompile.i.cache <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"BattaryProgress.g.cs <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"UserControl1.g.i.cs <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.csprojResolveAssemblyReference.cache <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Themes","children":[{"title":"Generic.xaml <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":true},{"title":"Window1.xaml <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"BattaryProgress.xaml <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"ProgressTest.xaml.cs <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"Window1.xaml.cs <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"ProgressTest.xaml <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"BattaryProgressBig.xaml.cs <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfBatteryProgressBar.v11.suo <span style='color:#111;'> 192.50KB </span>","children":null,"spread":false},{"title":"WpfBatteryProgressBar.sln <span style='color:#111;'> 953B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • sinacom2010 :
    很不错,挺好的资源,谢谢
    2018-11-21
  • demonapple123 :
    类似于基于xml,程序写的不错,直接运行exe可以看见,但是我用vs2015编译却通不过,最主要的这是一个程序,不是c#windows窗口的控件,白下了。。。还希望楼主描述清楚点,免得别人浪费积分
    2017-02-10
  • zh_wang2010 :
    使用vs2013编译无法通过,界面做的不错
    2016-08-29
  • diannet_12058 :
    it's very good
    2016-06-22
  • lzlige :
    可惜我不会用wpf
    2016-05-26

免责申明

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