public static int SpawnListWork(DirectoryInfoEx[] dirs, bool listDir, bool listFile, string fileMask, bool showProgressDialog)
 {
     lock (onGoingWorkList)
     {
         IExWork retVal = new ListWork(newKey(), dirs, listDir, listFile, fileMask);
         retVal.IsProgressDialogEnabled = showProgressDialog;
         hookWorkEvent(retVal);
         return(addWork(retVal.ID, retVal));
     }
 }
Esempio n. 2
0
 public static int SpawnListWork(DirectoryInfoEx[] dirs, bool listDir, bool listFile, string fileMask, bool showProgressDialog)
 {
     lock (onGoingWorkList)
     {
         IExWork retVal = new ListWork(newKey(), dirs, listDir, listFile, fileMask);
         retVal.IsProgressDialogEnabled = showProgressDialog;
         hookWorkEvent(retVal);
         return addWork(retVal.ID, retVal);
     }
 }