-
Notifications
You must be signed in to change notification settings - Fork 0
/
Unit2.pas
59 lines (45 loc) · 1.16 KB
/
Unit2.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
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, jpeg, StdCtrls, shellapi, Buttons;
type
Tabout = class(TForm)
Bevel1: TBevel;
lbl: TLabel;
holyone: TImage;
Label1: TLabel;
Bevel2: TBevel;
Label2: TLabel;
SpeedButton1: TSpeedButton;
Label3: TLabel;
procedure urlClick(Sender: TObject);
procedure SpeedButton1Click(Sender: TObject);
procedure Label3MouseEnter(Sender: TObject);
procedure Label3MouseLeave(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
about: Tabout;
implementation
{$R *.DFM}
procedure Tabout.urlClick(Sender: TObject);
begin
ShellExecute (0, 'open', 'http://www.tahribat.com', nil, '', 1);
end;
procedure Tabout.Label3MouseEnter(Sender: TObject);
begin
label3.font.color:=clred;
end;
procedure Tabout.Label3MouseLeave(Sender: TObject);
begin
label3.font.color:=clblue;
end;
procedure Tabout.SpeedButton1Click(Sender: TObject);
begin
showmessage('beep :PP eeuheuhe,'+#13+ 'niye kodum simdi ben bunu bu prorama?');
end;
end.