Esempio n. 1
0
 public static void DeleteFile(string path)
 {
     try
     {
         DeleteFileJob job = new DeleteFileJob(path);
         System.Threading.Thread worker = new System.Threading.Thread(job.DoWork);
         worker.Start();
     }
     catch (Exception)
     { }
 }
Esempio n. 2
0
 public static void DeleteFile(string path)
 {
     try
     {
         DeleteFileJob           job    = new DeleteFileJob(path);
         System.Threading.Thread worker = new System.Threading.Thread(job.DoWork);
         worker.Start();
     }
     catch (Exception)
     { }
 }