注意:static double x=0;
protected void Timer1_Tick(object sender, EventArgs e)//Timer.Interval="1000"你可自己设定
{
x = a + x;
Label2.Text = x.ToString();
}
protected void Timer1_Tick(object sender, EventArgs e)//Timer.Interval="1000"你可自己设定
{
x = a + x;
Label2.Text = x.ToString();
}