C#面向对象程序设计计时器 //记录时间 private void timer2_Tick(object sender, EventArgs e) { time++; int s = time; if (time >= 1000) s = time - time / 1000 * 1000; int p = s / 10