













直接上代码:(简单)
using Microsoft.VisualBasic.FileIO;class ProgressBarCopy {
static void Main() {string copySrc = @"C:\WINDOWS\Microsoft.NET";
string copyDest = @"C:\TipsTmp";
FileSystem.CopyDirectory(
copySrc, copyDest, UIOption.AllDialogs);
FileSystem.MoveDirectory(
copyDest, moveDest, UIOption.AllDialogs);
FileSystem.DeleteDirectory(
moveDest, UIOption.AllDialogs,
RecycleOption.SendToRecycleBin);
}
}
哈哈,其实我还写了一个C#的My类,就不拿出来献丑了。
郁闷,我的博客出了BUG。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。