Ignore:
Timestamp:
Jun 5, 2023, 8:45:38 PM (18 months ago)
Author:
chronos
Message:
  • Modified: Remove U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormGenerate.pas

    r148 r149  
    1 unit UFormGenerate;
     1unit FormGenerate;
    22
    33interface
     
    2424  end;
    2525
    26 var
    27   FormGenerate: TFormGenerate;
    28 
    2926
    3027implementation
     
    3330
    3431uses
    35   UCore;
     32  Core;
    3633
    3734{ TFormGenerate }
     
    4542    Contact := Contacts.AddNew;
    4643    with Contact do begin
    47       Fields[cfVersion] := Core.DefaultVcardVersion;
     44      Fields[cfVersion] := Core.Core.DefaultVcardVersion;
    4845      Fields[cfFirstName] := 'First ' + IntToStr(Random(10000));
    4946      Fields[cfLastName] := 'Last ' + IntToStr(Random(10000));
     
    6865  );
    6966begin
    70   Core.GenerateCount := SpinEditCount.Value;
    71   Core.PersistentForm1.Save(Self);
     67  Core.Core.GenerateCount := SpinEditCount.Value;
     68  Core.Core.PersistentForm1.Save(Self);
    7269end;
    7370
    7471procedure TFormGenerate.FormCreate(Sender: TObject);
    7572begin
    76   Core.Translator.TranslateComponentRecursive(Self);
    77   Core.ThemeManager1.UseTheme(Self);
     73  Core.Core.Translator.TranslateComponentRecursive(Self);
     74  Core.Core.ThemeManager1.UseTheme(Self);
    7875end;
    7976
    8077procedure TFormGenerate.FormShow(Sender: TObject);
    8178begin
    82   Core.PersistentForm1.Load(Self);
    83   SpinEditCount.Value := Core.GenerateCount;
     79  Core.Core.PersistentForm1.Load(Self);
     80  SpinEditCount.Value := Core.Core.GenerateCount;
    8481  UpdateInterface;
    8582end;
Note: See TracChangeset for help on using the changeset viewer.