예제 #1
0
 public static void Compress(int nFile, CompProg Prog)
 {
     for (int i = 0; i < nFile; i++)
     {
         Prog(i);
         System.Threading.Thread.Sleep(500);
     }
 }
예제 #2
0
 public static void Compress(int nFile, CompProg Prog)
 {
     for (int i = 0; i < nFile; i++)
     {
         Prog(i);
         System.Threading.Thread.Sleep(500);
     }
 }
예제 #3
0
 public static bool Compress(int nFiles, CompProg Prog)
 {
     for (int i = 0; i < nFiles; i++)
     {
         if (Prog(i) == false)
         {
             return false;
         }
         System.Threading.Thread.Sleep(500);
     }
     return true;
 }
예제 #4
0
 public static bool Compress(int nFile, CompProg Prog)
 {
     for (int i = 0; i < nFile; i++)
     {
         if (Prog(i) == false)
         {
             return(false);
         }
         System.Threading.Thread.Sleep(500);
     }
     return(true);
 }