解决方法:

 构造方法中添加

 CheckForIllegalCrossThreadCalls = false;

 

如图:

 

posted on 2017-05-31 15:36  bin790302901  阅读(5260)  评论(0编辑  收藏  举报