-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathabout.pas
More file actions
62 lines (46 loc) · 1007 Bytes
/
about.pas
File metadata and controls
62 lines (46 loc) · 1007 Bytes
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
53
54
55
56
57
58
59
60
61
unit About;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, LCLIntf, Buttons;
type
{ TfrmAbout }
TfrmAbout = class(TForm)
BitBtn1: TBitBtn;
Image1: TImage;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
lblVersion: TLabel;
procedure FormCreate(Sender: TObject);
procedure Label4Click(Sender: TObject);
procedure Label6Click(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
frmAbout: TfrmAbout;
implementation
uses
Main;
{$R *.lfm}
{ TfrmAbout }
procedure TfrmAbout.Label4Click(Sender: TObject);
begin
OpenURL('http://narodmon.ru/');
end;
procedure TfrmAbout.Label6Click(Sender: TObject);
begin
OpenURL('http://habrahabr.ru/users/mear/');
end;
procedure TfrmAbout.FormCreate(Sender: TObject);
begin
lblVersion.Caption := frmMain.FVersion;
end;
end.