第2个回答 2010-09-03
我将2楼的方法总结了一下写成代码如下:
private string[] arrayC = new string[3];
private int count=0;
private void Form1_Load(object sender, System.EventArgs e)
{
arrayC[0] = "Shirdrn";
arrayC[1] = "Hamtty";
arrayC[2] = "Saxery";
this.timer1.Enabled=true;
this.timer1.Interval=500;
}
private void timer1_Tick(object sender, System.EventArgs e)
{
int j=count%arrayC.Length;//循环得到该第几个数出现
this.label1.Text=arrayC[j].ToString();
count++;
}本回答被网友采纳