private void Form1_Load(object sender, EventArgs e) { System.Media.SoundPlayer s = new System.Media.SoundPlayer("open.wav");//"open.wav"换成要播放的文件名 s.Play(); }