private void button1_Click(object sender, EventArgs e) { if (checkBox1.Checked == true) { var form = new CrawlPage() { StartPosition = FormStartPosition.CenterScreen }; this.Hide(); form.Show(); this.Close(); } else { MessageBox.Show("请同意本须知或返回主菜单。", "错误提示"); } }
//long TotalFlow; //debug public WebCrawlerProcess(CrawlPage form) { this.crawlForm = form; }