Changeset 14 for trunk/UCore.pas
- Timestamp:
- Jun 10, 2011, 2:16:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r12 r14 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, UCoolTranslator ;8 Classes, SysUtils, FileUtil, UCoolTranslator, USystem, USqlDatabase; 9 9 10 10 type … … 14 14 TCore = class(TDataModule) 15 15 CoolTranslator1: TCoolTranslator; 16 procedure DataModuleCreate(Sender: TObject); 17 procedure DataModuleDestroy(Sender: TObject); 16 18 private 17 19 { private declarations } 18 20 public 19 { public declarations }20 end; 21 System: TChronisBase; 22 end; 21 23 22 24 var … … 27 29 {$R *.lfm} 28 30 31 { TCore } 32 33 procedure TCore.DataModuleCreate(Sender: TObject); 34 begin 35 System := TChronisBase.Create; 36 System.Database := TSqlDatabase.Create; 37 end; 38 39 procedure TCore.DataModuleDestroy(Sender: TObject); 40 begin 41 System.Free; 42 end; 43 29 44 end. 30 45
Note:
See TracChangeset
for help on using the changeset viewer.