public void Load(string DirPath) { //DirPath = DirPath; GetSongs getSong = new GetSongs(); string filename = getSong.ViewSongs(DirPath); Console.WriteLine(filename); this.SongPath = filename; this.PlaySong(); }
private void Load() { string path; GetSongs getSong = new GetSongs(); path = getSong.ViewSongs(DirPath); string filename = path; Console.WriteLine(filename); this.SongPath = filename; this.PlaySong(); }