
- 帖子
- 11
- 积分
- 17
- 威望
- 22
- 金钱
- 15
- 在线时间
- 0 小时
|
2楼
发表于 2008-7-16 17:11
| 只看该作者
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
var
a:integer;
begin
a:=0;
repeat
windows.Beep(999,1000);
windows.Beep(760,1000);
until a<>0;
end;
end.  |
|