winfrom 播放系统声音
System.Media.SoundPlayer player;//声明
player = new System.Media.SoundPlayer();//
player.SoundLocation = "雷声.wav";//调用Dbug文件夹下的文件
player.Load();
//使用
player.Play();
System.Media.SoundPlayer player;//声明
player = new System.Media.SoundPlayer();//
player.SoundLocation = "雷声.wav";//调用Dbug文件夹下的文件
player.Load();
//使用
player.Play();