source: branches/lazarus/About.pas

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 
1unit About;
2
3interface
4
5uses
6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
7 Dialogs, StdCtrls, ExtCtrls, Shellapi;
8
9type
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
31var
32 Form3: TForm3;
33
34implementation
35
36uses Main;
37
38{$R *.dfm}
39
40procedure TForm3.FormCreate(Sender: TObject);
41begin
42 Label6.Caption := ProjectHomepage;
43 Label2.Caption := 'Verze: ' + ApplicationVersion;
44end;
45
46procedure TForm3.Label6Click(Sender: TObject);
47begin
48 Form1.ShowWeb;
49end;
50
51procedure TForm3.Label4Click(Sender: TObject);
52begin
53 ShellExecute(Handle, 'open', PChar('mailto:maron2@centrum.cz'), nil, nil, SW_SHOWNORMAL);
54end;
55
56procedure TForm3.Button1Click(Sender: TObject);
57begin
58 //zjištění aktualizace
59 if Form1.NeedUpdate then
60 Form1.ProcedureUpdateApplication
61 else ShowMessage('Máte nejnovější verzi programu.');
62
63end;
64
65end.
Note: See TracBrowser for help on using the repository browser.