unit LicenseUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls; type { TLicenseFrm } TLicenseFrm = class(TForm) AcceptBtn: TButton; RejectBtn: TButton; Memo1: TMemo; Panel1: TPanel; procedure AcceptBtnClick(Sender: TObject); procedure RejectBtnClick(Sender: TObject); private { private declarations } public { public declarations } end; var LicenseFrm: TLicenseFrm; implementation { TLicenseFrm } procedure TLicenseFrm.AcceptBtnClick(Sender: TObject); begin LicenseFrm.Hide; end; procedure TLicenseFrm.RejectBtnClick(Sender: TObject); begin close; end; initialization {$I licenseunit.lrs} end.