在循环里面加入 Application.DoEvents(); 转载于:https://www.cnblogs.com/waixingehao/archive/2011/10/08/2202047.html