-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAbout.pas
149 lines (130 loc) · 4.04 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
unit About;
interface
uses
Windows, Forms, Buttons, param, shellapi,
Controls, Classes, StdCtrls, ExtCtrls, jpeg;
type
TAbt = class(TForm)
GroupBox2: TGroupBox;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Label8: TLabel;
Label9: TLabel;
Label10: TLabel;
Label11: TLabel;
GroupBox1: TGroupBox;
Label2: TLabel;
Label3: TLabel;
Label7: TLabel;
Image1: TImage;
SpeedButton1: TSpeedButton;
SpeedButton2: TSpeedButton;
GroupBox3: TGroupBox;
Memo1: TMemo;
Label1: TLabel;
Label12: TLabel;
Label13: TLabel;
Label14: TLabel;
GroupBox4: TGroupBox;
Memo2: TMemo;
SpeedButton3: TSpeedButton;
procedure Button1Click(Sender: TObject);
procedure Label1Click(Sender: TObject);
procedure Label3Click(Sender: TObject);
procedure FormActivate(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure Label7Click(Sender: TObject);
procedure SpeedButton1Click(Sender: TObject);
procedure SpeedButton2Click(Sender: TObject);
procedure SpeedButton2MouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
procedure SpeedButton3Click(Sender: TObject);
procedure FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Abt: TAbt;
implementation
uses Main;
{$R *.dfm}
procedure TAbt.Button1Click(Sender: TObject);
begin
Close;
end;
procedure TAbt.Label1Click(Sender: TObject);
begin
ShellExecute(Handle,nil,'http://www.RPprogs.narod.ru',nil,nil,handle);
end;
procedure TAbt.Label3Click(Sender: TObject);
begin
ShellExecute(Handle,nil,'mailto:[email protected]',nil,nil,handle);
end;
procedure TAbt.FormActivate(Sender: TObject);
begin
Label9.Caption := MainForm.Label45.Caption;
MainForm.Timer1.Enabled := false;
end;
procedure TAbt.FormClose(Sender: TObject; var Action: TCloseAction);
begin
MainForm.Timer1.Enabled:=true;
end;
procedure TAbt.Label7Click(Sender: TObject);
begin
ShellExecute(Handle,nil,'mailto:[email protected]',nil,nil,handle);
end;
procedure TAbt.SpeedButton1Click(Sender: TObject);
begin
Close;
end;
procedure TAbt.SpeedButton2Click(Sender: TObject);
begin
If SpeedButton2.Caption='Î ïðîãðàììå...' then begin
SpeedButton2.Caption:='Áàçà äàííûõ';
GroupBox3.Visible:=false;
GroupBox4.Visible:=false;
GroupBox3.SendToBack;
GroupBox3.SendToBack;
end
else
If SpeedButton2.Caption='Áàçà äàííûõ' then begin
SpeedButton2.Caption:='Ïîæåðòâîâàíèå';
GroupBox3.Visible:=true;
GroupBox3.BringToFront;
GroupBox4.SendToBack;
GroupBox4.Visible:=false;
end
else
If SpeedButton2.Caption='Ïîæåðòâîâàíèå' then begin
SpeedButton2.Caption:='Î ïðîãðàììå...';
GroupBox3.Visible:=false;
GroupBox3.SendToBack;
GroupBox4.BringToFront;
GroupBox4.Visible:=true;
end
end;
procedure TAbt.SpeedButton2MouseMove(Sender: TObject; Shift: TShiftState;
X, Y: Integer);
begin
If SpeedButton2.Caption='Î ïðîãðàììå...' then
SpeedButton2.Hint:='Ïîñìîòðåòü èíôîðìàöèþ îá àâòîðå ïðîãðàììû.';
If SpeedButton2.Caption='Áàçà äàííûõ' then
SpeedButton2.Hint:='Ïðîñìîòðåòü ñâåäåíèÿ î áàçå äàííûõ ïî êîìïëåêòóþùèì â èãðå.';
If SpeedButton2.Caption='Ïîæåðòâîâàíèå' then
SpeedButton2.Hint:='Ìíå òàê íðàâèòñÿ ýòà èãðà, ÷òî ÿ õî÷ó ïîæåðòâîâàòü àâòîðó íåêîòîðóþ ñóììó.';
end;
procedure TAbt.SpeedButton3Click(Sender: TObject);
begin
Application.MessageBox('×òîáû ïîæåðòâîâàòü ìíå íåêîòîðóþ ñóììó ÷åðåç ñåðâèñ WebMoney ïðîñòî ïåðå÷èñëèòå ìíå äåíüãè íà îäèí èç êîøåëüêîâ:'+#13+#13+'Äëÿ ïåðå÷èñëåíèé â äîëëàðàõ - Z209458620841'+#13+'Äëÿ ïåðå÷èñëåíèé â ðóáëÿõ - R447039166666'+#13+'Äëÿ ïåðå÷èñëåíèé â åâðî - E038304727957'+#13+'Äëÿ ïåðå÷èñëåíèé â ãðèâíÿõ - U212312166639','Ïîìîùü!',MB_ICONINFORMATION);
end;
procedure TAbt.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
If (key=VK_ESCAPE) then
SpeedButton1.OnClick(self);
end;
end.