Click here to Skip to main content
16,017,707 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to change progress bar color in c# . I m using this code but it is not working

progressBar1.Visible = true;
progressBar1.Minimum = 1;
progressBar1.Maximum = 10; perform
progressBar1.ForeColor = Color.Yellow;
progressBar1.Step = 1;
Posted

We need to implement the default progress bar.
This ^^^link my be the one of good examples.

Hope be helpful,
Theingi Win
 
Share this answer
 
The latest progress bar (while pretty) does not allow you to change the color - see this discussion for a way around it: http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/7ffabd94-43f4-4e6a-8952-cd347c154b1f?prof=required[^]
 
Share this answer
 
Comments
naazim 8-Sep-13 1:06am    
i wanna apropiate solution on it "i wanna change the forcolor of progressbar using codes "do u have solution?
OriginalGriff 8-Sep-13 1:39am    
I "wanna cup of coffee", but I've done something about it: I've put the kettle on.
Have you tried doing something about your problem, perhaps by reading the link I provided?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900