MethodInvoker mi = new MethodInvoker(() =>
                        {
                            progressBar1.Value += progressBar1.Step;
                            this.lblprass.Text = this.progressBar1.Value.ToString() + "/" + this.progressBar1.Maximum.ToString();
                        });
                        this.BeginInvoke(mi);
                        System.Threading.Thread.Sleep(1000);//暂停1秒

 

相关文章:

  • 2021-05-28
  • 2022-12-23
  • 2021-08-22
  • 2021-12-30
  • 2021-12-03
  • 2021-08-03
  • 2022-12-23
  • 2021-08-24
猜你喜欢
  • 2021-09-16
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2021-12-23
  • 2021-08-30
相关资源
相似解决方案