public static void Test() { ThreadStart aThreadStart = delegate() { Thread.Sleep(1000); MessageBox.Show("Good!"); }; var aThread = new Thread(aThreadStart); aThread.Start(); }
public static void Test() { ThreadStart aThreadStart = delegate() { Thread.Sleep(1000); MessageBox.Show("Good!"); }; var aThread = new Thread(aThreadStart); aThread.Start(); }
转载于:https://www.cnblogs.com/ningkyolei/p/4355685.html