示例#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)
     { }
 }
示例#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)
     { }
 }