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:
812 bytes
|
Line | |
---|
1 | unit UFormError;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
---|
7 |
|
---|
8 | type
|
---|
9 |
|
---|
10 | { TFormError }
|
---|
11 |
|
---|
12 | TFormError = class(TForm)
|
---|
13 | MemoErrors: TMemo;
|
---|
14 | procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
---|
15 | procedure FormCreate(Sender: TObject);
|
---|
16 | procedure FormShow(Sender: TObject);
|
---|
17 | end;
|
---|
18 |
|
---|
19 | var
|
---|
20 | FormError: TFormError;
|
---|
21 |
|
---|
22 |
|
---|
23 | implementation
|
---|
24 |
|
---|
25 | {$R *.lfm}
|
---|
26 |
|
---|
27 | uses
|
---|
28 | UCore;
|
---|
29 |
|
---|
30 | { TFormError }
|
---|
31 |
|
---|
32 | procedure TFormError.FormCreate(Sender: TObject);
|
---|
33 | begin
|
---|
34 | Core.Translator.TranslateComponentRecursive(Self);
|
---|
35 | Core.ThemeManager1.UseTheme(Self);
|
---|
36 | end;
|
---|
37 |
|
---|
38 | procedure TFormError.FormShow(Sender: TObject);
|
---|
39 | begin
|
---|
40 | Core.PersistentForm1.Load(Self);
|
---|
41 | end;
|
---|
42 |
|
---|
43 | procedure TFormError.FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
---|
44 | begin
|
---|
45 | Core.PersistentForm1.Save(Self);
|
---|
46 | end;
|
---|
47 |
|
---|
48 | end.
|
---|
49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.