//记录时间 private void timer2_Tick(object sender, EventArgs e) { time++; int s = time; if (time >= 1000) s = time - time / 1000 * 1000; int p = s / 100; int q = (s - p * 100) / 10; int r = s - p * 10