日期:2014-06-10 浏览次数:20685 次
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()));
}