我是用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:进度前景色