C#技术百科
问问你的心你有没有信心 做事情要专一坚定,执着
Thread td = new Thread((ThreadStart)delegate{
                int i=0;
                while (true)
                {
                
                    this.progressBar1.Value=i++;
                    if (progressBar1.Value >= 1000000)
                        break;
                }
            });
            td.Start();
posted on 2011-01-11 11:36  王德田  阅读(138)  评论(0编辑  收藏  举报