-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfrmAboutForm.pas
66 lines (55 loc) · 1.54 KB
/
frmAboutForm.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
unit frmAboutForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UCL.Form, UCL.Classes, UCL.QuickButton,
Vcl.ExtCtrls, UCL.CaptionBar, UCL.Panel, Vcl.StdCtrls, Vcl.ComCtrls,
UCL.ScrollBox, UCL.Button, System.Actions, Vcl.ActnList, UCL.ListButton,
Vcl.WinXPanels;
type
TfrmAbout = class(TUForm)
UCaptionBar1: TUCaptionBar;
UQuickButton1: TUQuickButton;
UButton1: TUButton;
UScrollBox1: TUScrollBox;
RichEdit1: TRichEdit;
UPanel1: TUPanel;
ActionList1: TActionList;
actCloseAbout: TAction;
UPanel2: TUPanel;
UListButton1: TUListButton;
UListButton2: TUListButton;
CardPanel1: TCardPanel;
Card1: TCard;
Card2: TCard;
RichEdit2: TRichEdit;
procedure UButton1Click(Sender: TObject);
procedure actCloseAboutExecute(Sender: TObject);
procedure UListButton1Click(Sender: TObject);
procedure UListButton2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmAbout: TfrmAbout;
implementation
{$R *.dfm}
procedure TfrmAbout.actCloseAboutExecute(Sender: TObject);
begin
Close;
end;
procedure TfrmAbout.UButton1Click(Sender: TObject);
begin
Close;
end;
procedure TfrmAbout.UListButton1Click(Sender: TObject);
begin
CardPanel1.ActiveCard := Card2;
end;
procedure TfrmAbout.UListButton2Click(Sender: TObject);
begin
CardPanel1.ActiveCard := Card1;
end;
end.