C#多任务多线程下载组件V1.1(源代码)

上传者: 0xff | 上传时间: 2020-05-14 13:14:27 | 文件大小: 71KB | 文件类型: RAR
【版本已更新:http://download.csdn.net/source/2632090】 (说明:这是一个输出DLL的项目,需要在其他项目添加引用使用,如果要直接运行,请自行添加入口函数) 支持多个下载任务,分块多线程下载,断点续传。 (对比上个版本,完成了遗留的功能,修改了事件触发过程及处理方式,重新整理了代码及注释) 内含两个窗体,可视为演示程序。 DownloadForm 下载窗体,含相关事件处理及交互控制 TestForm1 调用DownloadForm下载测试 Events.txt 描述事件触发及处理流程 希望写的能看懂: 一般实时的事件需要在当前子线程处理;而涉及到线程控制的事件(如结束下载线程),为了确保事件处理能正常执行,则才采用主线程代理的方式处理。 这种代理方式是由于系统中直接操作线程引发的,如果改用系统线程池的话,可以重新定制处理流程。

文件下载

资源详情

[{"title":"( 36 个子文件 71KB ) C#多任务多线程下载组件V1.1(源代码)","children":[{"title":"DownloadMag","children":[{"title":"DTaskConfigData.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"images","children":[{"title":"ok.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"down.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"point_red.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"point_cyan.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"point_yellow.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"point_blue.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"stop.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"point_green.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"right.ico <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"DTaskData.cs <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"DTaskMag.cs <span style='color:#111;'> 17.02KB </span>","children":null,"spread":false},{"title":"DTaskConfig.cs <span style='color:#111;'> 25.60KB </span>","children":null,"spread":false},{"title":"TaskListControl.cs <span style='color:#111;'> 8.92KB </span>","children":null,"spread":false},{"title":"WMessage.cs <span style='color:#111;'> 5.35KB </span>","children":null,"spread":false},{"title":"DownloadMag.sln <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"ClassLibrary.cs <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"DownloadMag.suo <span style='color:#111;'> 88.00KB </span>","children":null,"spread":false},{"title":"Forms","children":[{"title":"DownloadForm.cs <span style='color:#111;'> 16.66KB </span>","children":null,"spread":false},{"title":"DownloadForm.resx <span style='color:#111;'> 17.70KB </span>","children":null,"spread":false},{"title":"TestForm1.Designer.cs <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"TestForm1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"DownloadForm.Designer.cs <span style='color:#111;'> 24.83KB </span>","children":null,"spread":false},{"title":"TestForm1.cs <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"MsgBox.resx <span style='color:#111;'> 46.59KB </span>","children":null,"spread":false},{"title":"MsgBox.Designer.cs <span style='color:#111;'> 15.05KB </span>","children":null,"spread":false},{"title":"MsgBox.cs <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"DownloadMag.csproj <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"Events.txt <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"Download.cs <span style='color:#111;'> 9.83KB </span>","children":null,"spread":false},{"title":"DTask.cs <span style='color:#111;'> 26.57KB </span>","children":null,"spread":false},{"title":"EventProxy.cs <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"CRC32.cs <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • sky320 :
    下载学习了,看看能不能用。
    2018-02-23
  • drosh :
    呃,不记得当时为什么下载了。应该是学习一下吧,学习一下也是不错的。
    2015-12-22
  • wzswxl :
    总的来说来是可以,改改能行
    2014-01-22
  • q87742235 :
    第一册接触学习
    2013-12-18
  • QQ2228222828 :
    本人新手,来学习的。
    2013-08-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明