刚用C#做的那个程度条不会循环。我用的 time控件。(我初学多多指点)
还有哪里要改一下:
namespace _02
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (progressBar1.Value >= 200)
            {
                progressBar1.Value = 0;
                return;
            }
            progressBar1.Value += 20;
                    }
    }
}

解决方案 »

  1.   

    progressBar1.Minimum = 0;
     progressBar1.Maximum = 200;
      

  2.   

    if (progressBar1.Value >= progressBar1.Maximum)
    {
        progressBar1.Value = 0;
        return;
    }
    progressBar1.Value += 20;
      

  3.   

    感谢“jnwfh(海蛎子)”
    你说的办法。是对了。谢谢你:)
      

  4.   

    public Form1()
            {
                InitializeComponent();
            }        private void timer1_Tick(object sender, EventArgs e)
            {
                int intValue = this.progressBar1.Value;
                if (progressBar1.Value >= this.progressBar1.Maximum)
                {
                    intValue = -20;
                }
                progressBar1.Value = intValue+20;
            }