Last change
on this file was 22, checked in by chronos, 8 years ago |
- Added: Now import formats can be specified using new edit windows.
- Added: Import source can now be downloaded and processed including download from https URLs.
|
File size:
1.3 KB
|
Line | |
---|
1 | unit UFormAbout;
|
---|
2 |
|
---|
3 | {$mode delphi}
|
---|
4 |
|
---|
5 | interface
|
---|
6 |
|
---|
7 | uses
|
---|
8 | Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
|
---|
9 | StdCtrls, UApplicationInfo, UCommon;
|
---|
10 |
|
---|
11 | type
|
---|
12 |
|
---|
13 | { TFormAbout }
|
---|
14 |
|
---|
15 | TFormAbout = class(TForm)
|
---|
16 | ApplicationInfo1: TApplicationInfo;
|
---|
17 | ButtonHomePage: TButton;
|
---|
18 | ButtonClose: TButton;
|
---|
19 | LabelAppName: TLabel;
|
---|
20 | LabelDescription: TLabel;
|
---|
21 | LabelContent: TLabel;
|
---|
22 | procedure ButtonHomePageClick(Sender: TObject);
|
---|
23 | procedure FormCreate(Sender: TObject);
|
---|
24 | procedure FormShow(Sender: TObject);
|
---|
25 | private
|
---|
26 | { private declarations }
|
---|
27 | public
|
---|
28 | { public declarations }
|
---|
29 | end;
|
---|
30 |
|
---|
31 | var
|
---|
32 | FormAbout: TFormAbout;
|
---|
33 |
|
---|
34 | implementation
|
---|
35 |
|
---|
36 | {$R *.lfm}
|
---|
37 |
|
---|
38 | resourcestring
|
---|
39 | SVersion = 'Version';
|
---|
40 | SReleaseDate = 'Release date';
|
---|
41 | SLicense = 'License';
|
---|
42 |
|
---|
43 | { TFormAbout }
|
---|
44 |
|
---|
45 | procedure TFormAbout.FormShow(Sender: TObject);
|
---|
46 | begin
|
---|
47 | LabelAppName.Caption := ApplicationInfo1.AppName;
|
---|
48 | LabelContent.Caption := SVersion + ': ' + ApplicationInfo1.Version + LineEnding +
|
---|
49 | SReleaseDate + ': ' + DateToStr(ApplicationInfo1.ReleaseDate) + LineEnding +
|
---|
50 | SLicense + ': ' + ApplicationInfo1.License;
|
---|
51 | end;
|
---|
52 |
|
---|
53 | procedure TFormAbout.ButtonHomePageClick(Sender: TObject);
|
---|
54 | begin
|
---|
55 | OpenWebPage(ApplicationInfo1.HomePage);
|
---|
56 | end;
|
---|
57 |
|
---|
58 | procedure TFormAbout.FormCreate(Sender: TObject);
|
---|
59 | begin
|
---|
60 |
|
---|
61 | end;
|
---|
62 |
|
---|
63 | end.
|
---|
64 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.