-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAbout.pas
74 lines (61 loc) · 1.87 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
68
69
70
71
72
73
74
unit About;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Winapi.ShellAPI;
type
TFormAbout = class(TForm)
LabelAuthor: TLabel;
LabelIgor: TLabel;
LabelWeb: TLabel;
procedure LabelWebMouseEnter(Sender: TObject);
procedure LabelWebMouseLeave(Sender: TObject);
procedure LabelWebClick(Sender: TObject);
procedure LabelIgorMouseEnter(Sender: TObject);
procedure LabelIgorMouseLeave(Sender: TObject);
procedure LabelIgorClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FormAbout: TFormAbout;
implementation
{$R *.dfm}
{$SetPEFlags IMAGE_FILE_RELOCS_STRIPPED}
{$SetPEFlags IMAGE_FILE_LINE_NUMS_STRIPPED}
{$SetPEFlags IMAGE_FILE_LOCAL_SYMS_STRIPPED}
{$SetPEFlags IMAGE_FILE_DEBUG_STRIPPED}
{$SetPEFlags IMAGE_FILE_EXECUTABLE_IMAGE}
procedure TFormAbout.LabelIgorClick(Sender: TObject);
begin
ShellExecute(Application.MainForm.Handle, 'open', 'http://www.facebook.com/IgorSkyFlyer',
Nil, Nil, SW_SHOW);
end;
procedure TFormAbout.LabelIgorMouseEnter(Sender: TObject);
begin
LabelIgor.Font.Style:=[fsBold, fsUnderline];
Cursor:=crHandPoint;
end;
procedure TFormAbout.LabelIgorMouseLeave(Sender: TObject);
begin
LabelIgor.Font.Style:=[];
Cursor:=crDefault;
end;
procedure TFormAbout.LabelWebClick(Sender: TObject);
begin
ShellExecute(Application.MainForm.Handle, 'open', 'http://neovisio.wordpress.com/?from=calculusex', Nil,
Nil, SW_SHOW);
end;
procedure TFormAbout.LabelWebMouseEnter(Sender: TObject);
begin
LabelWeb.Font.Style:=[fsBold, fsUnderline];
Cursor:=crHandPoint;
end;
procedure TFormAbout.LabelWebMouseLeave(Sender: TObject);
begin
LabelWeb.Font.Style:=[];
Cursor:=crDefault;
end;
end.