摘要: public partial class update : Form { private WebClient client; int downfilenum = 0; //已下载文件数 int downlistnum = 0;//总下载文件数 List<string> list; private s 阅读全文
posted @ 2015-07-20 22:58 不要太嚣张了 阅读(1193) 评论(1) 推荐(0) 编辑
摘要: 这个是原代码: System.Net.WebClient wc = new System.Net.WebClient(); wc.OpenRead("http://patrickkroft.com/mp3/Pearl.mp3"); Int64 bytes_total= Convert.ToInt64 阅读全文
posted @ 2015-07-20 22:57 不要太嚣张了 阅读(4999) 评论(0) 推荐(1) 编辑
摘要: private WebClient MyWebClient = new WebClient(); private void MyWebClient_DownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEve 阅读全文
posted @ 2015-07-20 22:56 不要太嚣张了 阅读(1997) 评论(0) 推荐(0) 编辑