用这个是放不出声音的,用这个
string soundfile = System.Environment.CurrentDirectory + @"\jingbao.wav";
if (File.Exists(soundfile))
{
System.Media.SoundPlayer _Sound = new System.Media.SoundPlayer(soundfile);
_Sound.Play();
}
string soundfile = System.Environment.CurrentDirectory + @"\jingbao.wav";
if (File.Exists(soundfile))
{
System.Media.SoundPlayer _Sound = new System.Media.SoundPlayer(soundfile);
_Sound.Play();
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货