返回列表 发帖
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.

TOP

返回列表