标签:add filename for 名称 dex nis name length cat
namespace _14.双击播放音乐 private void listBox1_DoubleClick(object sender, EventArgs e)
{
//双击音乐文件,播放音乐
//新建音乐文件对象
SoundPlayer sp = new SoundPlayer();
sp.SoundLocation = listSong[listBox1.SelectedIndex];
sp.Play();
}
}
}
14.WinForm练习--双击listBox文件名,播放音乐
标签:add filename for 名称 dex nis name length cat
原文地址:https://blog.51cto.com/12679593/2398734