C# Programming
06-13-2009, 07:50 PM
Why when I press the button there' s a little delay before the sound playing and how can I fix it?
WMPLib.WindowsMediaPlayer ActionSound = new WMPLib.WindowsMediaPlayer();
...
public void button1_Click(object sender, EventArgs e)
{
ActionSound.URL = "C://b1.wav";
}
"Good artists copy, great artists steal."
WMPLib.WindowsMediaPlayer ActionSound = new WMPLib.WindowsMediaPlayer();
...
public void button1_Click(object sender, EventArgs e)
{
ActionSound.URL = "C://b1.wav";
}
"Good artists copy, great artists steal."