private void playButton_Click(object sender, EventArgs e) { selectedAudioFile = musicListBox.SelectedItem.ToString(); audioTrackLabel.Text = selectedAudioFile; audioPlayer.PlaySong(selectedAudioFile); Logger.LogNormal($"Playing {selectedAudioFile}"); }
private void DisplayAlarm() { alarmTimeLabel.Text = $"{alarm.AlarmTime.Hour}:{alarm.AlarmTime.Minute}"; player.PlaySong(@"C:\Personal\Music\Black Eyed Peas, Nicky Jam, Tyga - VIDA LOCA (Official Music Video).mp3"); }