Exemple #1
0
        //Loads files from a folder on button click
        private async void AddMedia_Click(object sender, RoutedEventArgs e)
        {
            musicHandler.AddMediaFolder();
            //clear the list and load new songs
            songs.Clear();
            songs = await musicHandler.loadSongs();

            var message = new MessageDialog("To view your new song list, please reload the page.");
            await message.ShowAsync();
        }