-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnitAbout.pas
56 lines (45 loc) · 1.01 KB
/
UnitAbout.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
unit UnitAbout;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TAboutForm = class(TForm)
NotepadIcon: TImage;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Panel1: TPanel;
Label7: TLabel;
Label8: TLabel;
cmdOk: TButton;
lblExtra: TLabel;
procedure cmdOkClick(Sender: TObject);
procedure NotepadIconDblClick(Sender: TObject);
procedure lblExtraDblClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutForm: TAboutForm;
implementation
uses UnitMain;
{$R *.dfm}
procedure TAboutForm.cmdOkClick(Sender: TObject);
begin
AboutForm.Close();
end;
procedure TAboutForm.NotepadIconDblClick(Sender: TObject);
begin
lblExtra.Visible := True;
end;
procedure TAboutForm.lblExtraDblClick(Sender: TObject);
begin
Main.ExtraMenu.Visible := True;
end;
end.