コード例 #1
0
 public static int SpawnDeleteWork(FileSystemInfoEx[] items, bool showProgressDialog)
 {
     lock (onGoingWorkList)
     {
         IExWork retVal = new DeleteWork(newKey(), items);
         retVal.IsProgressDialogEnabled = showProgressDialog;
         hookWorkEvent(retVal);
         return(addWork(retVal.ID, retVal));
     }
 }
コード例 #2
0
 public static int SpawnDeleteWork(FileSystemInfoEx[] items, bool showProgressDialog)
 {
     lock (onGoingWorkList)
     {
         IExWork retVal = new DeleteWork(newKey(), items);
         retVal.IsProgressDialogEnabled = showProgressDialog;
         hookWorkEvent(retVal);
         return addWork(retVal.ID, retVal);
     }
 }