Ignore:
Timestamp:
Jun 30, 2023, 10:01:24 PM (17 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormGenerate.pas

    r157 r162  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    7   Spin, VCard;
     7  Spin, VCard, FormEx;
    88
    99type
     
    1111  { TFormGenerate }
    1212
    13   TFormGenerate = class(TForm)
     13  TFormGenerate = class(TFormEx)
    1414    ButtonGenerate: TButton;
    1515    Label1: TLabel;
     
    1717    procedure ButtonGenerateClick(Sender: TObject);
    1818    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    19     procedure FormCreate(Sender: TObject);
    2019    procedure FormShow(Sender: TObject);
    2120  public
     
    9392begin
    9493  Core.Core.GenerateCount := SpinEditCount.Value;
    95   Core.Core.PersistentForm1.Save(Self);
    96 end;
    97 
    98 procedure TFormGenerate.FormCreate(Sender: TObject);
    99 begin
    100   Core.Core.Translator.TranslateComponentRecursive(Self);
    101   Core.Core.ThemeManager1.UseTheme(Self);
    10294end;
    10395
    10496procedure TFormGenerate.FormShow(Sender: TObject);
    10597begin
    106   Core.Core.PersistentForm1.Load(Self);
    10798  SpinEditCount.Value := Core.Core.GenerateCount;
    10899  UpdateInterface;
Note: See TracChangeset for help on using the changeset viewer.