-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAbout.pas
executable file
·67 lines (58 loc) · 1.68 KB
/
About.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
unit About;
interface
uses
Windows, Forms, StdCtrls, Controls, Classes, ExtCtrls, ShellAPI, jpeg;
type
TAboutForm = class(TForm)
btnOK: TButton;
Image1: TImage;
Label3: TLabel;
Label1: TLabel;
Label4: TLabel;
Label2: TLabel;
Label5: TLabel;
Label6: TLabel;
procedure Label2Click(Sender: TObject);
procedure Label5Click(Sender: TObject);
procedure Label6Click(Sender: TObject);
procedure Image1Click(Sender: TObject);
end;
implementation
{$R *.DFM}
procedure TAboutForm.Image1Click(Sender: TObject);
begin
ShellExecute(Application.Handle,
'open',
PChar('http://www.helmholtz-berlin.de'),
nil,
nil,
SW_ShowNormal);
end;
procedure TAboutForm.Label2Click(Sender: TObject);
begin
ShellExecute(Application.Handle,
'open',
PChar('http://www.helmholtz-berlin.de/user/neutrons/instrumentation/sample-environment'),
nil,
nil,
SW_ShowNormal);
end;
procedure TAboutForm.Label5Click(Sender: TObject);
begin
ShellExecute(Application.Handle,
'open',
PChar('http://www.helmholtz-berlin.de/user/neutrons/instrumentation/laboratories/lammb'),
nil,
nil,
SW_ShowNormal);
end;
procedure TAboutForm.Label6Click(Sender: TObject);
begin
ShellExecute(Application.Handle,
'open',
PChar('http://www.helmholtz-berlin.de/user/neutrons/instrumentation/laboratories/degas'),
nil,
nil,
SW_ShowNormal);
end;
end.