Exemple #1
0
 /*
  * 转换进度
  */
 private static void ReportStatus(int totalBytes,
                                  int processedBytes,
                                  Aumpel aumpelObj)
 {
     convertProgressBar.Value =
         (int)(((float)processedBytes / (float)totalBytes) * 100);
 }
Exemple #2
0
 ReportStatus(int totalBytes,
              int processedBytes, Aumpel aumpelObj)
 {
     progressBar1.Value =
         (int)(((float)processedBytes / (float)totalBytes) * 100);
 }
 // Conversion callback (lame,libsndfile)
 private static void ReportStatus(int totalBytes, 
     int processedBytes, Aumpel aumpelObj)
 {
     progressBar1.Value =
         (int)(((float)processedBytes/(float)totalBytes)*100);
 }