Geeks With Blogs
Hani Amr

I think playing sounds in a WPF could not be easier than this:

using

System.Media;

SoundPlayer

player = new SoundPlayer("Assets/type.wav");

player.Play();

And that's it :)

Posted on Wednesday, April 25, 2012 9:08 AM WPF | Back to top

Copyright © H@Ni | Powered by: GeeksWithBlogs.net