public static int SpawnCopyWork(FileSystemInfoEx[] src, DirectoryInfoEx dest, bool showProgressDialog)
 {
     lock (onGoingWorkList)
     {
         IExWork retVal = new CopyWork(newKey(), src, dest);
         retVal.IsProgressDialogEnabled = showProgressDialog;
         hookWorkEvent(retVal);
         return(addWork(retVal.ID, retVal));
     }
 }
 public static int SpawnCopyWork(FileSystemInfoEx[] src, DirectoryInfoEx dest, bool showProgressDialog)
 {
     lock (onGoingWorkList)
     {
         IExWork retVal = new CopyWork(newKey(), src, dest);
         retVal.IsProgressDialogEnabled = showProgressDialog;
         hookWorkEvent(retVal);
         return addWork(retVal.ID, retVal);
     }
 }