-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUFormViewAbout.pas
69 lines (57 loc) · 1.37 KB
/
UFormViewAbout.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{$I ViewerOptions.inc}
unit UFormViewAbout;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TFormViewAbout = class(TForm)
PanelText: TPanel;
PanelCaption: TPanel;
labCaption: TLabel;
labCopyright: TLabel;
labHomepage: TLabel;
labVersion: TLabel;
PanelCredits: TPanel;
labCredits: TLabel;
memoCredits: TMemo;
PanelButton: TPanel;
btnOK: TButton;
PanelImage: TPanel;
Image1: TImage;
labLicense: TLabel;
PanelLogo: TPanel;
Image2: TImage;
procedure FormShow(Sender: TObject);
procedure labHomepageClick(Sender: TObject);
procedure labLicenseClick(Sender: TObject);
procedure Image2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
implementation
uses
ATxMsgProc, ATxFProc;
{$R *.DFM}
procedure TFormViewAbout.FormShow(Sender: TObject);
begin
{$I Lang.FormViewAbout.inc}
{$ifndef HELP}
labLicense.Enabled:= false;
{$endif}
end;
procedure TFormViewAbout.labHomepageClick(Sender: TObject);
begin
FOpenURL('http://www.uvviewsoft.com', Handle);
end;
procedure TFormViewAbout.labLicenseClick(Sender: TObject);
begin
ShowHelp(Handle, 'LicenseFree.html');
end;
procedure TFormViewAbout.Image2Click(Sender: TObject);
begin
FOpenURL('http://atorg.net.ru/delphi/', Handle);
end;
end.