windowplayer播放列表属性

 

            ArrayList a = new ArrayList();

            a.Add("c:\\kugou\\林宇中 - 干物女.mp3");

            a.Add("c:\\kugou\\海鸣威 - 一个人的北京.mp3");

            axWindowsMediaPlayer1.currentPlaylist = axWindowsMediaPlayer1.newPlaylist("播放列表", "");

            foreach(object fn in a)             {

                axWindowsMediaPlayer1.currentPlaylist.appendItem(axWindowsMediaPlayer1.newMedia(fn.ToString()));

            }

posted @ 2014-07-17 20:51  "幸 福 。  阅读(140)  评论(0编辑  收藏  举报