Changeset 16 for trunk/UCore.pas
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 4 4 data.xml 5 5 Config.xml 6 *.lrj 7 heaptrclog.trc
-
- Property svn:ignore
-
trunk/UCore.pas
r14 r16 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, Controls, ActnList, UDatabase, 9 UCoolTranslator, Forms;9 UCoolTranslator, UApplicationInfo, Forms; 10 10 11 11 type … … 13 13 14 14 TCore = class(TDataModule) 15 AAbout: TAction; 15 16 ADatabaseConnect: TAction; 16 17 ADatabaseDisconnect: TAction; 18 ApplicationInfo1: TApplicationInfo; 17 19 APreferences: TAction; 18 20 AExit: TAction; … … 21 23 ImageList1: TImageList; 22 24 XMLConfig1: TXMLConfig; 25 procedure AAboutExecute(Sender: TObject); 23 26 procedure ADatabaseConnectExecute(Sender: TObject); 24 27 procedure ADatabaseDisconnectExecute(Sender: TObject); … … 50 53 Core: TCore; 51 54 55 52 56 implementation 53 57 54 58 uses 55 59 UEngineXML, UEngineMySQL, UEngineSQLite, UFormTables, UFormConnect, 56 UFormDatabases, UDataTypes, UFormPreferences, UFormMain ;60 UFormDatabases, UDataTypes, UFormPreferences, UFormMain, UFormAbout; 57 61 58 62 {$R *.lfm} … … 95 99 Database := FormDatabases.SelectedDatabase; 96 100 end; 101 end; 102 103 procedure TCore.AAboutExecute(Sender: TObject); 104 begin 105 FormAbout := TFormAbout.Create(nil); 106 FormAbout.ApplicationInfo := ApplicationInfo1; 107 FormAbout.ShowModal; 108 FormAbout.Free; 97 109 end; 98 110
Note:
See TracChangeset
for help on using the changeset viewer.