Changeset 162 for trunk/Core.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r158 r162 6 6 Classes, SysUtils, FileUtil, Controls, ActnList, Forms, Dialogs, ExtCtrls, 7 7 LastOpenedList, ApplicationInfo, PersistentForm, ScaleDPI, Common, 8 Translator, DataFile, VCard, Menus, RegistryEx, Theme, AboutDialog,8 Translator, DataFile, VCard, Menus, RegistryEx, Theme, 9 9 Registry, VCardFile; 10 10 … … 15 15 TCore = class(TDataModule) 16 16 AAbout: TAction; 17 AboutDialog1: TAboutDialog;18 17 AFileExport: TAction; 19 18 ANormalize: TAction; … … 132 131 uses 133 132 FormMain, FormSettings, FormFindDuplicity, FormCompare, TestCase, FormNormalize, 134 FormGenerate, FormError, FormFind, FormTest, FormSource, TestCases, FormExport; 133 FormGenerate, FormError, FormFind, FormSource, TestCases, FormExport, FormEx, 134 FormAbout, FormTests; 135 135 136 136 resourcestring … … 214 214 215 215 procedure TCore.AAboutExecute(Sender: TObject); 216 begin 217 AboutDialog1.Show; 216 var 217 FormAbout: TFormAbout; 218 begin 219 FormAbout := TFormAbout.Create(nil); 220 FormAbout.ApplicationInfo := ApplicationInfo1; 221 FormAbout.ShowModal; 222 FreeAndNil(FormAbout); 218 223 end; 219 224 … … 342 347 procedure TCore.ATestExecute(Sender: TObject); 343 348 begin 344 with TFormTest .Create(nil) do349 with TFormTests.Create(nil) do 345 350 try 346 351 TestCases := InitTestCases; … … 451 456 ApplicationInfo1.RegistryKey + '\RecentFiles'); 452 457 458 TFormEx.ScaleDPI := ScaleDPI1; 459 TFormEx.Translator := Translator; 460 TFormEx.ThemeManager := ThemeManager1; 461 TFormEx.PersistentForm := PersistentForm1; 462 453 463 FormMain := TFormMain.Create(nil); 464 // FormMain.Translator.POFilesFolder := 'Languages;Packages/Common/Languages'; 454 465 FormMain.Show; 455 466 end;
Note:
See TracChangeset
for help on using the changeset viewer.