摘要:
private void button3_Click(object sender, EventArgs e) { Thread thread = new Thread(new ThreadStart(Send)); //模拟进度条 thread.IsBackground = true; thread.Start(); } private void Send() { int i = 0; while (i <= 100) { //显示进度 信息 this.ShowPro(i); //循环发生文件 //模拟的 i++; //模拟发送多少 Thread.Sleep(100); ... 阅读全文