Changeset 149 for trunk/Forms/FormMain.pas
- Timestamp:
- Jun 5, 2024, 9:58:43 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r148 r149 6 6 Classes, SysUtils, FileUtil, Forms, Controls, FormCPU, FormInput, 7 7 Graphics, Dialogs, Menus, ActnList, ComCtrls, ExtCtrls, Target, Registry, 8 LazFileUtils, FormOptions, FormMessages, FormTargets, 9 FormOutput, FormMemory, FormSourceCode, FormTargetCode, FormLog, 10 FormCompileMultiple; 8 LazFileUtils, FormOptions, FormMessages, FormTargets, FormCompileMultiple, 9 FormOutput, FormMemory, FormSourceCode, FormTargetCode, FormLog, FormEx; 11 10 12 11 type … … 14 13 { TFormMain } 15 14 16 TFormMain = class(TForm )15 TFormMain = class(TFormEx) 17 16 AProgramCompileMultiple: TAction; 18 17 AViewLog: TAction; … … 212 211 UpdateTargetList; 213 212 DockInit; 214 Core.Core.PersistentForm1.Load(Self, True);215 Core.Core.ThemeManager.UseTheme(Self);216 213 FormSourceCode.UpdateTheme; 217 214 end; … … 374 371 procedure TFormMain.FormCreate(Sender: TObject); 375 372 begin 376 Core.Core.Translator.TranslateComponentRecursive(Self);377 Core.Core.ThemeManager.UseTheme(Self);378 379 373 FormSourceCode := TFormSourceCode.Create(nil); 380 374 FormCPU := TFormCPU.Create(nil); … … 461 455 procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction); 462 456 begin 463 Core.Core.PersistentForm1.Save(Self);464 457 Application.Terminate; 465 458 end;
Note:
See TracChangeset
for help on using the changeset viewer.