private void listBox_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (!pl.IsInitialized()) { return; } pl.ChangeSong(playlistBox.SelectedIndex - 1); }