• 大小: 30KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-04
  • 语言: C#
  • 标签:

资源简介

C#下载文件 显示下载进度及速度 /// 开启界面刷新计时器 (不使用线程,防止阻塞造成界面刷新不及时) timer1.Enabled = true; try { WebRequest httpRequest = WebRequest.Create(tbFile.Text.Trim()); httpResponse = httpRequest.GetResponse(); pbDown.Maximum = (int)http

资源截图

代码片段和文件信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-03-13 21:03  download\
     目录           0  2012-03-13 23:02  download\download\
     文件         866  2012-03-13 21:03  download\download.sln
     文件       17920  2012-03-13 23:02  download\download.suo
     文件        3583  2012-03-13 21:28  download\download\download.csproj
     文件        4014  2012-03-13 23:01  download\download\MainForm.cs
     文件        5230  2012-03-13 22:58  download\download\MainForm.Designer.cs
     文件        6011  2012-03-13 22:58  download\download\MainForm.resx
     目录           0  2012-03-13 21:02  download\download\obj\
     目录           0  2012-03-13 21:02  download\download\obj\x86\
     目录           0  2012-03-13 23:01  download\download\obj\x86\Debug\
     文件        6062  2012-03-13 23:01  download\download\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         614  2012-03-13 23:02  download\download\obj\x86\Debug\download.csproj.FileListAbsolute.txt
     文件       12288  2012-03-13 23:01  download\download\obj\x86\Debug\download.exe
     文件         180  2012-03-13 23:00  download\download\obj\x86\Debug\download.MainForm.resources
     文件       26112  2012-03-13 23:01  download\download\obj\x86\Debug\download.pdb
     文件         180  2012-03-13 21:28  download\download\obj\x86\Debug\download.Properties.Resources.resources
     文件        4038  2012-03-13 23:00  download\download\obj\x86\Debug\ResGen.read.1.tlog
     文件         796  2012-03-13 23:00  download\download\obj\x86\Debug\ResGen.write.1.tlog
     目录           0  2012-03-13 21:02  download\download\obj\x86\Debug\TempPE\
     文件         492  2012-03-13 21:03  download\download\Program.cs
     目录           0  2012-03-13 21:02  download\download\Properties\
     文件        1366  2012-03-13 21:02  download\download\Properties\AssemblyInfo.cs
     文件        2866  2012-03-13 21:02  download\download\Properties\Resources.Designer.cs
     文件        5612  2012-03-13 21:02  download\download\Properties\Resources.resx
     文件        1093  2012-03-13 21:02  download\download\Properties\Settings.Designer.cs
     文件         249  2012-03-13 21:02  download\download\Properties\Settings.settings

评论

共有 条评论

相关资源