日期:2014-05-17 浏览次数:21140 次
int flag = 1;
private void timer1_Tick(object sender, EventArgs e)
{
string str = "Properties.Resources._01";
str.Replace(@"""","");
switch (flag)
{
case 1:
this.pictureBox1.Image = Properties.Resources._01;
flag = 2;
break;
case 2:
this.pictureBox1.Image = Properties.Resources._02;
flag = 3;
break;
case 3:
this.pictureBox1.Image = Properties.Resources._03;
flag = 4;
break;
case 4:
this.pictureBox1.Image = Properties.Resources._04;
flag = 5;
break;
case 5:
this.pictureBox1.Image = Properties.Resources._05;
flag = 6;
break;
......................................................
default :
break;
}
}