Hey I'm writing a windows forms application which is supposed to play a three sound files and at the end of each sound file it's to change the source of an image.
I can get it to play the sounds using System.Media.SoundPlayer. However it seems to play the sound in a different thread, continuing on.
The net effect of this is that only the last sound is played and all the images are changed.
I've tried Thread.Sleep but it sleeps the whole GUI and after the sleep period everything happens at once and the last sound it played.
Any help would be appreciated.
UPDATE
I thought PlaySynch was working but it seems to freeze my Gui which is less than ideal. Any other suggestions?