Colored progressbar

后端 未结 2 391
盖世英雄少女心
盖世英雄少女心 2021-01-19 13:07

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:

2条回答
  •  长发绾君心
    2021-01-19 13:41

    If its a winform application then do the following step

    In Program.cs comment out the line

    Application.EnableVisualStyles();
    

    In code behind:

    ProgressBar1.ForeColor = Color.Blue;
    ProgressBar1.Style = ProgressBarStyle.Continuous;
    

提交回复
热议问题