自动播放下一曲问题
程序代码:
private void WindowsMediaPlayer1_PlayStateChange_1(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { if (WindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsStopped) { listBox1.SelectedIndex = listBox1.SelectedIndex + 1; WindowsMediaPlayer1.URL = playList[listBox1.SelectedIndex]; } }
在播放完一首歌曲的时候我想让他自动播放下一曲,结果是跳过一首播放第二首是怎么回事