开发者

how can I play the songs one after another in windows media player

I'm developing a VS 2008 C# coded Windows media player using axWindows media player control available in Vis开发者_运维百科ual Studio. I have stored the song paths in a SQL server 2005 database and I'm able to play one song at a time now. I want my application to play the songs from the database continuously without asking anything. How can I achieve this task , please suggest me the way to do so.


You can either pass in the song list as a whole playlist, or you may want to use the PlayStateChange event to listen for when the current song ends and then load up the next song when that happens.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜