im trying to load a folder with .mp3 files into a listbox and be able to play them, this is the code i have tried and it loads the folder but doesent allow me to play the files
private void PopulateListBox(ListBox lsb, string Folder, string FileType)
{
DirectoryInfo dinfo = new DirectoryInfo(Folder);
FileInfo[] Files = dinfo.GetFiles(FileType);
foreach(FileInfo file in Files)
{
lsb.Items.Add(file.Name);
}
}