-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathABOUT.pas
47 lines (37 loc) · 811 Bytes
/
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
unit About;
interface
uses Forms, StdCtrls, ExtCtrls, Graphics, Classes, Controls,
System.ComponentModel;
type
TAboutBox = class(TForm)
Panel1: TPanel;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
OKButton: TButton;
Label1: TLabel;
Image1: TImage;
Image2: TImage;
Comments: TLabel;
Memo1: TMemo;
procedure OKButtonClick(Sender: TObject);
procedure Image2DblClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
{$R *.dfm}
procedure TAboutBox.Image2DblClick(Sender: TObject);
begin
image1.Visible:=not image1.Visible;
image2.Visible:=not image1.Visible;
end;
procedure TAboutBox.OKButtonClick(Sender: TObject);
begin
AboutBox.Close;
end;
end.