循环一次要等待1000毫秒怎么做
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
int i;
for (i = 1; i < 100; i++)
{
textBox1.Text += Convert.ToString(i);
textBox1.Text +="\r\n";
}
}
}
}
循环一次要等待1000毫秒怎么做?谁帮我仔细写一下代码我是菜