解决方法:

 构造方法中添加

 CheckForIllegalCrossThreadCalls = false;

 

如图:

 

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