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/FormMain.pas

    r158 r162  
    55uses
    66  Classes, SysUtils, LazFileUtils, Forms, Controls, Graphics, Dialogs, Menus,
    7   ComCtrls, FormContacts;
     7  ComCtrls, FormContacts, FormEx;
    88
    99type
     
    1111  { TFormMain }
    1212
    13   TFormMain = class(TForm)
     13  TFormMain = class(TFormEx)
    1414    CoolBar1: TCoolBar;
    1515    MainMenu1: TMainMenu;
     
    9595  SaveConfig;
    9696  FormContacts.Close;
    97   Core.Core.PersistentForm1.Save(Self);
    9897  Application.Terminate;
    9998end;
     
    139138    SetToolbarHints;
    140139    Core.Core.Initialize;
    141     Core.Core.Translator.TranslateComponentRecursive(Self);
    142     Core.Core.ThemeManager1.UseTheme(Self);
    143     Core.Core.PersistentForm1.Load(Self);
    144     Core.Core.ScaleDPI1.ScaleControl(CoolBar1, Core.Core.ScaleDPI1.DesignDPI);
     140    Translator.TranslateComponentRecursive(Self);
     141    ThemeManager.UseTheme(Self);
     142    PersistentForm.Load(Self);
     143    ScaleDPI.ScaleControl(CoolBar1, Core.Core.ScaleDPI1.DesignDPI);
    145144    CoolBar1.AutosizeBands;
    146145
Note: See TracChangeset for help on using the changeset viewer.