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

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

于 2022-04-22 发布 文件大小:23.48 kB
0 136
下载积分: 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 个回复

  • 大中国(是一个学习热键的好程序,可用热键关机,重启,上网等功能)...
    大中国(是一个学习热键的好程序,可用热键关机,重启,上网等功能)-BigChina is a good programme for studying hotkey. Its functions include shutdown with hotkey , reset,accessing internet etc.
    2022-05-19 15:56:14下载
    积分:1
  • A*寻路算法演示,具体见注释
    A*寻路算法演示,具体见注释-A* search algorithm road demonstration of specific see Notes
    2022-05-26 14:24:17下载
    积分:1
  • 一套图形程序......大家
    一套图形程序......大家-A graphics program everyone ......
    2022-02-28 13:20:41下载
    积分:1
  • BigTalkDesignPattenSourceCode 书籍源码(全)
    本源码,是从兜售此书的网站上,下载下来的保证是可调试可用的源码,相信菜鸟级的选手通过本轮学习,在面向对象的编程中,会游刃有余,,,
    2022-05-31 02:50:13下载
    积分:1
  • 协同过滤算法
    这是用于商品推荐的协同过滤算法。本算法的相似性度量采用的是皮尔森相似性。代码采用基于iterm的协同过滤,即先建立iterm的临近矩阵,对未打分的term采用临近矩阵进行打分。                                                                                                                                                        
    2022-01-26 06:15:50下载
    积分:1
  • 3G 比较全面的map信令流程,详细分解描述了各种流程。对于学习MAP协议很好。...
    3G 比较全面的map信令流程,详细分解描述了各种流程。对于学习MAP协议很好。-3G signal a more comprehensive map of the flow, a detailed description of a variety of flow decomposition. Study well for the MAP protocol.
    2022-08-22 03:18:03下载
    积分:1
  • AppWizard has created this Myspeech application for you. This application not...
    主要是利用Microsoft Speech SDK进行二次开发,写的一个语音识别的小程序- AppWizard has created this Myspeech application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your Myspeech application. Myspeech.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. Myspeech.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CMyspeechApp application class. Myspeech.cpp This is the main application source file that contains the application class CMyspeechApp. Myspeech.rc This is a listing of al
    2023-05-31 09:35:03下载
    积分:1
  • C#读取gps串口信息,可以实时读取gps模块定位信息
    可以选取串口号,解析gps模块获取的坐标,并且实时显示获取的字符串信息,可以判断当前定位状态是否处于锁定状态。
    2022-08-12 17:03:59下载
    积分:1
  • 计算器 类似于windows自带 mfc编写
    计算器 类似于windows自带 mfc编写-Preparation is similar to windows own calculator mfc
    2022-08-17 08:26:34下载
    积分:1
  • 检测文件中是否包含指定字符串
    检测文件中是否包含指定字符串-detect whether the document contains specified string
    2022-12-28 15:45:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载