private void Form1_Load(object sender, EventArgs e)
{
int i=0;
while (i < 99)
{
SoundPlayer SoundPly = new SoundPlayer();
SoundPly.SoundLocation = @"Bgm.wav";
SoundPly.Play();
timer1.Enabled = true;
timer1.Interval = 15000;
i++;
}
}
上面是自己编辑的,想法是每过15秒让音乐循环一遍,但运行时无法循环,求教大神们有什么好的方法吗c#
{
int i=0;
while (i < 99)
{
SoundPlayer SoundPly = new SoundPlayer();
SoundPly.SoundLocation = @"Bgm.wav";
SoundPly.Play();
timer1.Enabled = true;
timer1.Interval = 15000;
i++;
}
}
上面是自己编辑的,想法是每过15秒让音乐循环一遍,但运行时无法循环,求教大神们有什么好的方法吗c#
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货