protected void OnDownload(DownloadingEventArgs e) { if (DownloadingEvent != null) { DownloadingEvent(this, e); } }
private static void ShowPercent(object sender, DownloadingEventArgs e) { Console.Write("\r下载" + e.Url + "......." + e.Percent + "%"); }