2009-08-20 15 views

Répondre

13

Pour jouer un son tout simplement, sans interaction, vous pouvez utiliser System.Media.SoundPlayer:

System.Media.SoundPlayer player = new System.Media.SoundPlayer(); 
player.SoundLocation = "soundFile.wav"; 
player.Play(); 
Questions connexes