axWindowsMediaPlayer 控件如何实现连续播放多个
axWindowsMediaPlayer 控件如何实现连续播放多个
------解决方案-------------------- if (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsStopped)
{
axWindowsMediaPlayer1.Ctlcontrols.play();
}
判断axWindowsMediaPlayer1是否停止播放,如果停止,就让它播放。
------解决方案--------------------this.axWindowsMediaPlayer1.settings.playCount = Int32.MaxValue;
------解决方案-------------------- this.axWindowsMediaPlayer1.settings.setMode("loop", true);
axWindowsMediaPlayer1.currentPlaylist.appendItem(axWindowsMediaPlayer1.newMedia(filename));