学习win8开发,把过去自己东东在win8下重写,发现System.Threading.Thread.Sleep()方法没有了,但类System.Threading.ManualResetEvent还是存在的,只能先使用了:

new System.Threading.ManualResetEvent(false).WaitOne(2000);