Last change
on this file was 127, checked in by chronos, 3 years ago |
- Modified: Removed explicit Delphi directive.
- Fixed: Added mising UTestCase file.
|
File size:
860 bytes
|
Line | |
---|
1 | unit UFormTestCase;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
---|
7 |
|
---|
8 | type
|
---|
9 |
|
---|
10 | { TFormTestCase }
|
---|
11 |
|
---|
12 | TFormTestCase = class(TForm)
|
---|
13 | MemoLog: TMemo;
|
---|
14 | procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
---|
15 | procedure FormCreate(Sender: TObject);
|
---|
16 | procedure FormShow(Sender: TObject);
|
---|
17 | private
|
---|
18 |
|
---|
19 | public
|
---|
20 |
|
---|
21 | end;
|
---|
22 |
|
---|
23 | var
|
---|
24 | FormTestCase: TFormTestCase;
|
---|
25 |
|
---|
26 |
|
---|
27 | implementation
|
---|
28 |
|
---|
29 | {$R *.lfm}
|
---|
30 |
|
---|
31 | uses
|
---|
32 | UCore;
|
---|
33 |
|
---|
34 | { TFormTestCase }
|
---|
35 |
|
---|
36 | procedure TFormTestCase.FormClose(Sender: TObject; var CloseAction: TCloseAction
|
---|
37 | );
|
---|
38 | begin
|
---|
39 | Core.PersistentForm1.Save(Self);
|
---|
40 | end;
|
---|
41 |
|
---|
42 | procedure TFormTestCase.FormCreate(Sender: TObject);
|
---|
43 | begin
|
---|
44 | Core.Translator.TranslateComponentRecursive(Self);
|
---|
45 | Core.ThemeManager1.UseTheme(Self);
|
---|
46 | end;
|
---|
47 |
|
---|
48 | procedure TFormTestCase.FormShow(Sender: TObject);
|
---|
49 | begin
|
---|
50 | Core.PersistentForm1.Load(Self);
|
---|
51 | end;
|
---|
52 |
|
---|
53 | end.
|
---|
54 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.