|
Last change
on this file was 127, checked in by chronos, 4 years ago |
- Modified: Removed explicit Delphi directive.
- Fixed: Added mising UTestCase file.
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | unit UFormNameDetails;
|
|---|
| 2 |
|
|---|
| 3 | interface
|
|---|
| 4 |
|
|---|
| 5 | uses
|
|---|
| 6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
|---|
| 7 |
|
|---|
| 8 | type
|
|---|
| 9 |
|
|---|
| 10 | { TFormNameDetails }
|
|---|
| 11 |
|
|---|
| 12 | TFormNameDetails = class(TForm)
|
|---|
| 13 | ButtonOk: TButton;
|
|---|
| 14 | ButtonCancel: TButton;
|
|---|
| 15 | EditFirstName: TEdit;
|
|---|
| 16 | EditLastName: TEdit;
|
|---|
| 17 | EditMiddleName: TEdit;
|
|---|
| 18 | EditTitleAfter: TEdit;
|
|---|
| 19 | EditTitleBefore: TEdit;
|
|---|
| 20 | Label1: TLabel;
|
|---|
| 21 | Label25: TLabel;
|
|---|
| 22 | Label26: TLabel;
|
|---|
| 23 | Label27: TLabel;
|
|---|
| 24 | Label5: TLabel;
|
|---|
| 25 | procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
|---|
| 26 | procedure FormCreate(Sender: TObject);
|
|---|
| 27 | procedure FormShow(Sender: TObject);
|
|---|
| 28 | end;
|
|---|
| 29 |
|
|---|
| 30 | var
|
|---|
| 31 | FormNameDetails: TFormNameDetails;
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | implementation
|
|---|
| 35 |
|
|---|
| 36 | {$R *.lfm}
|
|---|
| 37 |
|
|---|
| 38 | uses
|
|---|
| 39 | UCore;
|
|---|
| 40 |
|
|---|
| 41 | { TFormNameDetails }
|
|---|
| 42 |
|
|---|
| 43 | procedure TFormNameDetails.FormClose(Sender: TObject;
|
|---|
| 44 | var CloseAction: TCloseAction);
|
|---|
| 45 | begin
|
|---|
| 46 | Core.PersistentForm1.Save(Self);
|
|---|
| 47 | end;
|
|---|
| 48 |
|
|---|
| 49 | procedure TFormNameDetails.FormCreate(Sender: TObject);
|
|---|
| 50 | begin
|
|---|
| 51 | Core.Translator.TranslateComponentRecursive(Self);
|
|---|
| 52 | Core.ThemeManager1.UseTheme(Self);
|
|---|
| 53 | end;
|
|---|
| 54 |
|
|---|
| 55 | procedure TFormNameDetails.FormShow(Sender: TObject);
|
|---|
| 56 | begin
|
|---|
| 57 | Core.PersistentForm1.Load(Self);
|
|---|
| 58 | end;
|
|---|
| 59 |
|
|---|
| 60 | end.
|
|---|
| 61 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.