adeel's blog
Showing posts with label
play sound window form C# SoundPlayer
.
Show all posts
Showing posts with label
play sound window form C# SoundPlayer
.
Show all posts
Saturday, February 14, 2009
Play sound from Window Form in C#
Playing a sound from window forms in C# is simple because of SoundPlayer class from System.Media namespace.
SoundPlayer objSoundPlayer = new SoundPlayer("sound1.wav");
objSoundPlayer .Play();
Older Posts
Home
Subscribe to:
Posts (Atom)