for (int i = 1; i < 10000; i++) { this.label1.Text = i.ToString(); Application.DoEvents(); System.Threading.Thread.Sleep(1000); }