unit Unit4;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, WinXP, ExtCtrls, jpeg;
type
TForm4 =
class(TForm)
Panel1: TPanel;
Edit2: TEdit;
Edit1: TEdit;
Button1: TButton;
WinXP1: TWinXP;
Label4: TLabel;
Label6: TLabel;
Label3: TLabel;
Label1: TLabel;
Label2: TLabel;
Label5: TLabel;
Label7: TLabel;
Image1: TImage;
Button2: TButton;
procedure Button2Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form4: TForm4;
procedure delay(milliseconds:logint);
implementation
uses Unit1;
{$R *.dfm}
procedure TForm4.Button2Click(Sender: TObject);
begin
close;
end;
procedure TForm4.Button1Click(Sender: TObject);
begin
Form1.show;
Form4.Hide;
end;
procedure delay(milliseconds:logint);
var
start,stop:logint;
begin
start := gettickcount;
repeat
stop := gettickcount;
application.processmessages;
until (stop - start ) >= seconds;
end;
end.