Changeset 85 for trunk/UCore.pas
- Timestamp:
- Jun 7, 2024, 11:59:43 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r84 r85 6 6 7 7 uses 8 Classes, SysUtils, UTheme, UPersistentForm, UApplicationInfo, UTranslator,9 URegistry, UAboutDialog, UGame, ActnList, Forms, Controls, Dialogs;8 Classes, SysUtils, Theme, PersistentForm, ApplicationInfo, Translator, 9 RegistryEx, UGame, ActnList, Forms, Controls, Dialogs; 10 10 11 11 type … … 15 15 TCore = class(TDataModule) 16 16 AAbout: TAction; 17 AboutDialog1: TAboutDialog;18 17 AComputer: TAction; 19 18 AHistory: TAction; … … 56 55 Core: TCore; 57 56 57 58 58 implementation 59 59 … … 61 61 62 62 uses 63 UFormMain, UFormSettings, UFormNew, UFormHelp, UFormComputer, 63 UFormMain, UFormSettings, UFormNew, UFormHelp, UFormComputer, FormAbout, 64 64 UFormHistory; 65 65 … … 112 112 113 113 procedure TCore.AAboutExecute(Sender: TObject); 114 begin 115 AboutDialog1.Show; 114 var 115 FormAbout: TFormAbout; 116 begin 117 FormAbout := TFormAbout.Create(nil); 118 try 119 FormAbout.ApplicationInfo := ApplicationInfo1; 120 FormAbout.ShowModal; 121 finally 122 FormAbout.Free; 123 end; 116 124 end; 117 125
Note:
See TracChangeset
for help on using the changeset viewer.