/* * 转换进度 */ private static void ReportStatus(int totalBytes, int processedBytes, Aumpel aumpelObj) { convertProgressBar.Value = (int)(((float)processedBytes / (float)totalBytes) * 100); }
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); }