播放音乐

必须 是 wav的形式

  1. //播放音乐
  2. SoundPlayer sp = new SoundPlayer();
  3. sp.SoundLocation = @"C:\Users\SpringRain\Desktop\1.wav";
  4. sp.Play();