private void selectMusicButton_Click(object sender, EventArgs e) { folderBrowserDialog1 = new FolderBrowserDialog(); folderBrowserDialog1.ShowDialog(); audioFileLocation = folderBrowserDialog1.SelectedPath; audioPlayer.SetDirectory(audioFileLocation); DisplayMusicFiles(); }