| 发表于:2007-01-06 19:36:036楼 得分:4 |
for example: private void button1_click(object sender, eventargs e) { this.timer1.interval = 100; this.timer1.enabled = true; } private int i = 0; private void timer1_tick(object sender, eventargs e) { if (i < 200) { this.label1.text = i++.tostring(); } } | | |
|