彩色进度 [英] Colored progressbar

查看:302
本文介绍了彩色进度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是用C#做了一个计划,碰到这些进度条,其中之一是蓝色的。

I was using a program made in C# and came across these progress bars, one of which is blue.

下面是有问题的进度条的画面:

Here's a picture of the progress bars in question:

前景色属性显然没有做任何事情,所以没有人知道如何做到这一点?

The forecolor property obviously doesn't do anything, so does anyone know how to do this?

感谢

推荐答案

禁用的哈比建议将工作,但如果你的应用程序依赖于视觉样式看起来更好,你将不得不使用一个自定义的进度条视觉样式。

Disabling Visual styles as Habib suggested will work, But if you application relies on visual styles to look nicer, You will have to use a custom progress bar.

彩色进度条 - codeProdject

TerrariViewer使用WPF按照我的理解,如果你愿意使用,这是一种可能性,

TerrariViewer uses Wpf as I understand, and if your willing to use that, this is a possibility

WPF:进度前景色

这篇关于彩色进度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆