登录
首页 » Windows开发 » 具有暂停/继续和进度条的目录复制

具有暂停/继续和进度条的目录复制

于 2022-04-22 发布 文件大小:23.48 kB
0 127
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge 作者 :MikesRuthlessYa@CodeProject这只是个具有暂停/继续按钮和进度条的目录复制程序。它很有用,因为展示了如何使用 backgroundworker 为 progressbar 增量以及如何制作简单的暂停/继续按钮,不论是使用 file.copy 代码或者类似我使用的代码的代码。我想它不是世界上最好的代码,但是希望它对“初学者‘有用。使用代码 代码很直观。您可以找到要复制的目录和要复制到的目录,然后单击开始按钮。如果需要,可以暂停或者继续。暂停时,无法取消复制。继续复制后,你可以取消。//My Imports Option Explicit On Imports System Imports System.IO Public Class FileCopy //All Of My Variables Dim filetotalsofarcopied As Double = 0 _ """"Variable To Show How Many MB"s/GB"s Have Been Copied Dim int As Integer = 0 """Variable For Which File On The Counter That It Is Currently On Dim filecount As Integer = 0 """"To

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2022-04-28 10:51:06下载
    积分:1
  • EVC环境下用SDKWINCE的应用程序, 基于SDK,完全实现窗口的事件处理。 对于学习WINCE应用的学习者来说, 是个很好的学习例子!...
    EVC环境下用SDK开发WINCE的应用程序, 基于SDK,完全实现窗口的事件处理。 对于学习WINCE应用开发的学习者来说, 是个很好的学习例子!-EVC environment WINCE using SDK to develop applications, based on the SDK, the full realization of the events of the window treatment. WINCE application development for the learning of the learners, it is a good example to learn!
    2023-07-13 07:35:03下载
    积分:1
  • DOS保护模式下汇编程序设计
    DOS保护模式下汇编程序设计
    2022-07-17 14:47:31下载
    积分:1
  • 这是一个用c#的水晶报表视频教程 一,可以看看的
    这是一个用c#的水晶报表视频教程 一,可以看看的-Crystal report control technical guide video, using C# language
    2022-10-10 06:50:03下载
    积分:1
  • 51单片机两机通讯
    甲乙两机的P1口各接8个发光二极管通讯,甲机分别产生5次流水灯数据,5次8个灯同时闪烁数据,5次高4位灯和低4位灯轮流量的数据,以此往复,在甲机显示的同时,把这些数据发送到乙机,在乙机上同时显示,要求甲机发送不用中断,乙机接收用中断程序接收,奇偶校验。
    2023-02-13 22:25:04下载
    积分:1
  • 以VC++为编程工具,解决了windows多线程编程中的经典问题:circular_queue问题...
    以VC++为编程工具,解决了windows多线程编程中的经典问题:circular_queue问题-to VC++ programming tools, solve the windows multithreaded programming of the classic problems : problems circular_queue
    2022-08-17 05:49:32下载
    积分:1
  • VC++绘制彩色的五角星! 不同的区域用不同的颜色填充! 通过修改华刷颜色,可以把五角星填充成五颜六色.
    VC++绘制彩色的五角星! 不同的区域用不同的颜色填充! 通过修改华刷颜色,可以把五角星填充成五颜六色.-VC mapping color five-pointed star! Different regions use different colors filled! By modifying Chinese brush color can be packed into a colorful five-pointed star.
    2022-04-24 09:37:42下载
    积分:1
  • Church of chess, get before the animation has a dialogue scene, and then can go...
    教堂棋,进去前,有一个场景对话动画,然后可以走棋,红方和白方-Church of chess, get before the animation has a dialogue scene, and then can go game, red and white
    2023-05-06 21:35:03下载
    积分:1
  • parts cutting issue for a fixed width of the rectangular plate W, the height of...
    零件切割问题 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?-parts cutting issue for a fixed width of the rectangular plate W, the height of rectangular plate unrestricted. Need from the board is cutting out respectively n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum?
    2022-03-24 18:18:21下载
    积分:1
  • 嗅探器
    dsniff-2.3完整套装.友情提醒:安装dsniff-2.3的时候注意要先把libnet-1.0.2a.tar.gz和 libnids-1.16.tar.gz装上,不然会因为缺少库函数而无法编译和安装,其它的包不是必需的,根据自己的需要看着办.-dsniff-2.3 complete package. Friendship reminded : Installation dsniff-2.3 attention to the first libnet- 1.0.2a.tar.gz and libnids- 1.16.tar.gz loaded, otherwise because of a lack of library functions are unable to build and install, the other package is not necessary, according to their own needs size up situation and act accordingly.
    2022-05-16 09:38:49下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载