unit Unit8;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, jpeg, ExtCtrls, OleCtrls, SHDocVw, Unit15;

type
  TForm8 = class(TForm)
    WebBrowser1: TWebBrowser;
    Button1: TButton;
    Button2: TButton;
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form8: TForm8;


implementation


{$R *.dfm}

procedure TForm8.FormCreate(Sender: TObject);
begin
WebBrowser1.Navigate('file://' + ExtractFilePath(ParamStr(0))+'Zad3.htm');
end;

procedure TForm8.Button1Click(Sender: TObject);
begin
form8.close
end;

procedure TForm8.Button2Click(Sender: TObject);
begin
form8.Close;
Unit15.Form15.showmodal;
end;

end.
