C# 实现系统报警
时间:2010-08-17 来源:海乐
using System.Runtime.InteropServices;
[DllImport("kernel32.dll")]
public static extern bool Beep(int freq,int duration);
public void PlayBeep()
{
//调用
Beep(800,3000);
}
相关阅读 更多 +