Changeset 149 for trunk/Forms/FormGenerate.pas
- Timestamp:
- Jun 5, 2023, 8:45:38 PM (18 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormGenerate.pas
r148 r149 1 unit UFormGenerate;1 unit FormGenerate; 2 2 3 3 interface … … 24 24 end; 25 25 26 var27 FormGenerate: TFormGenerate;28 29 26 30 27 implementation … … 33 30 34 31 uses 35 UCore;32 Core; 36 33 37 34 { TFormGenerate } … … 45 42 Contact := Contacts.AddNew; 46 43 with Contact do begin 47 Fields[cfVersion] := Core. DefaultVcardVersion;44 Fields[cfVersion] := Core.Core.DefaultVcardVersion; 48 45 Fields[cfFirstName] := 'First ' + IntToStr(Random(10000)); 49 46 Fields[cfLastName] := 'Last ' + IntToStr(Random(10000)); … … 68 65 ); 69 66 begin 70 Core. GenerateCount := SpinEditCount.Value;71 Core. PersistentForm1.Save(Self);67 Core.Core.GenerateCount := SpinEditCount.Value; 68 Core.Core.PersistentForm1.Save(Self); 72 69 end; 73 70 74 71 procedure TFormGenerate.FormCreate(Sender: TObject); 75 72 begin 76 Core. Translator.TranslateComponentRecursive(Self);77 Core. ThemeManager1.UseTheme(Self);73 Core.Core.Translator.TranslateComponentRecursive(Self); 74 Core.Core.ThemeManager1.UseTheme(Self); 78 75 end; 79 76 80 77 procedure TFormGenerate.FormShow(Sender: TObject); 81 78 begin 82 Core. PersistentForm1.Load(Self);83 SpinEditCount.Value := Core. GenerateCount;79 Core.Core.PersistentForm1.Load(Self); 80 SpinEditCount.Value := Core.Core.GenerateCount; 84 81 UpdateInterface; 85 82 end;
Note:
See TracChangeset
for help on using the changeset viewer.