Discussion in 'C#' started by xzenon, Oct 1, 2010.
im just wondering how to make a simple timer that stops a looping sound after 5 sec?
If you know how to stop it normally, it'll be very simple to stop it after 5 seconds.
Add a timer with Interval = 5000 (miliseconds). In timer_Tick method, write the codes to stop the sound loop. Set timer.Enable = true at the time you play the sound.
Separate names with a comma.