private void hotButton_Click(object sender, EventArgs e) { Form3 form3 = new Form3(); Spider_WEIBO_HOT spider_WEIBO_HOT = new Spider_WEIBO_HOT(); spider_WEIBO_HOT.StartCrawling().ContinueWith(S => { Invoke(new MethodInvoker(delegate() { form3.weiBo(spider_WEIBO_HOT.hotPoints); })); }); Spider_ZHIHU_HOT spider_ZHIHU_HOT = new Spider_ZHIHU_HOT(50); spider_ZHIHU_HOT.StartCrawling().ContinueWith(S => { Invoke(new MethodInvoker(delegate() { form3.zhihu(spider_ZHIHU_HOT.hotList); })); }); Spider_Baidu_HOSTPOST spider_Baidu = new Spider_Baidu_HOSTPOST(); TopPost topPost = spider_Baidu.HotTop(); form3.baidu(topPost.TopPosts); form3.Show(); }