Пример #1
0
 public void MoveTo(string destFileName)
 {
     checkExists();
     destFileName = IOTools.ExpandPath(destFileName);
     IOTools.Move(FullName, destFileName);
     FullName     = destFileName;
     OriginalPath = FullName;
     Refresh();
 }
Пример #2
0
 /// <summary>
 /// Move this folder to specified directory (fullpath)
 /// </summary>
 public void MoveTo(string destDirName)
 {
     checkExists();
     //iStorage = null;
     //iShellFolder = null;
     destDirName = IOTools.ExpandPath(destDirName);
     IOTools.Move(FullName, destDirName);
     FullName     = destDirName;
     OriginalPath = FullName;
     Refresh();
 }
Пример #3
0
 public static void Move(string sourceDirName, string destDirName)
 {
     IOTools.Move(sourceDirName, destDirName);
 }
Пример #4
0
 public static void Move(string source, string dest)
 {
     IOTools.Move(source, dest);
     //new FileInfoEx(source).MoveTo(dest);
 }