I have a progress bar to show the status of the program loading songs into the library.
foreach (Song s in InitializeLibrary()) { Library.Add
You need to set the Maximum property of the progress bar so that it can calculate percentages when you increment the Value:
var items = InitializeLibrary(); pBar.Maximum = items.Length; foreach (Song s in items) { Library.AddSong(s); pBar.Value++; }