用DoEvents暂停的时候
Do
  DoEvents
Loop until 条件要执行的程序可以写在Timer控件里面,Enable让它执行,执行完Enable=False