Last change
on this file was 8, checked in by george, 16 years ago |
- Smazáno: Přesunuté obrázky.
- Opraveno: Informace o verzi 3.3 a odkaz na stránky projektu.
- Opraveno: Cesty v instalační skriptu odkazující na složku trunk.
- Smazáno: Instalační exe soubory ze složky install.
|
File size:
1.3 KB
|
Line | |
---|
1 | unit About;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
---|
7 | Dialogs, StdCtrls, ExtCtrls, Shellapi;
|
---|
8 |
|
---|
9 | type
|
---|
10 | TForm3 = class(TForm)
|
---|
11 | Memo1: TMemo;
|
---|
12 | Label1: TLabel;
|
---|
13 | Label2: TLabel;
|
---|
14 | Label3: TLabel;
|
---|
15 | Label4: TLabel;
|
---|
16 | Label5: TLabel;
|
---|
17 | Image1: TImage;
|
---|
18 | Label6: TLabel;
|
---|
19 | Label7: TLabel;
|
---|
20 | Button1: TButton;
|
---|
21 | procedure FormCreate(Sender: TObject);
|
---|
22 | procedure Label6Click(Sender: TObject);
|
---|
23 | procedure Label4Click(Sender: TObject);
|
---|
24 | procedure Button1Click(Sender: TObject);
|
---|
25 | private
|
---|
26 | { Private declarations }
|
---|
27 | public
|
---|
28 | { Public declarations }
|
---|
29 | end;
|
---|
30 |
|
---|
31 | var
|
---|
32 | Form3: TForm3;
|
---|
33 |
|
---|
34 | implementation
|
---|
35 |
|
---|
36 | uses Main;
|
---|
37 |
|
---|
38 | {$R *.dfm}
|
---|
39 |
|
---|
40 | procedure TForm3.FormCreate(Sender: TObject);
|
---|
41 | begin
|
---|
42 | Label6.Caption := ProjectHomepage;
|
---|
43 | Label2.Caption := 'Verze: ' + ApplicationVersion;
|
---|
44 | end;
|
---|
45 |
|
---|
46 | procedure TForm3.Label6Click(Sender: TObject);
|
---|
47 | begin
|
---|
48 | Form1.ShowWeb;
|
---|
49 | end;
|
---|
50 |
|
---|
51 | procedure TForm3.Label4Click(Sender: TObject);
|
---|
52 | begin
|
---|
53 | ShellExecute(Handle, 'open', PChar('mailto:maron2@centrum.cz'), nil, nil, SW_SHOWNORMAL);
|
---|
54 | end;
|
---|
55 |
|
---|
56 | procedure TForm3.Button1Click(Sender: TObject);
|
---|
57 | begin
|
---|
58 | //zjištění aktualizace
|
---|
59 | if Form1.NeedUpdate then
|
---|
60 | Form1.ProcedureUpdateApplication
|
---|
61 | else ShowMessage('Máte nejnovější verzi programu.');
|
---|
62 |
|
---|
63 | end;
|
---|
64 |
|
---|
65 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.