Changeset 162 for trunk/Forms/FormGenerate.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormGenerate.pas
r157 r162 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 7 Spin, VCard ;7 Spin, VCard, FormEx; 8 8 9 9 type … … 11 11 { TFormGenerate } 12 12 13 TFormGenerate = class(TForm )13 TFormGenerate = class(TFormEx) 14 14 ButtonGenerate: TButton; 15 15 Label1: TLabel; … … 17 17 procedure ButtonGenerateClick(Sender: TObject); 18 18 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 19 procedure FormCreate(Sender: TObject);20 19 procedure FormShow(Sender: TObject); 21 20 public … … 93 92 begin 94 93 Core.Core.GenerateCount := SpinEditCount.Value; 95 Core.Core.PersistentForm1.Save(Self);96 end;97 98 procedure TFormGenerate.FormCreate(Sender: TObject);99 begin100 Core.Core.Translator.TranslateComponentRecursive(Self);101 Core.Core.ThemeManager1.UseTheme(Self);102 94 end; 103 95 104 96 procedure TFormGenerate.FormShow(Sender: TObject); 105 97 begin 106 Core.Core.PersistentForm1.Load(Self);107 98 SpinEditCount.Value := Core.Core.GenerateCount; 108 99 UpdateInterface;
Note:
See TracChangeset
for help on using the changeset viewer.