-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunit_about.pas
53 lines (36 loc) · 918 Bytes
/
unit_about.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
unit unit_about;
{$mode ObjFPC}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, LResources;
type
{ TFormAbout }
TFormAbout = class(TForm)
ButtonClose: TButton;
ImageFLLLogo: TImage;
Label1: TLabel;
Label2: TLabel;
LabelDBInUse: TLabel;
procedure ButtonCloseClick(Sender: TObject);
procedure Create(Sender: TObject);
private
public
end;
var
FormAbout: TFormAbout;
implementation
{$R *.lfm}
{ TFormAbout }
procedure TFormAbout.Create(Sender: TObject);
begin
{ Load the image for the logo }
ImageFLLLogo.Picture.LoadFromLazarusResource('FLLIcon_512x512');
end;
procedure TFormAbout.ButtonCloseClick(Sender: TObject);
begin
ModalResult := mrCancel;
end;
initialization
// .LRS files are plain-text pascal statements and need unit LResources to be included in the Uses clause
{$I flaxlauncherlite.lrs}
end.