source: studio/trunk/UCore.pas

Last change on this file was 12, checked in by chronos, 11 years ago
  • Added: Initialize platform as component.
File size: 555 bytes
Line 
1unit UCore;
2
3interface
4
5uses
6 System.SysUtils, System.Classes, ULDPlatform, Vcl.Forms;
7
8type
9 TDataModuleCore = class(TDataModule)
10 LDPlatform1: TLDPlatform;
11 procedure DataModuleCreate(Sender: TObject);
12 private
13 { Private declarations }
14 public
15 { Public declarations }
16 end;
17
18var
19 DataModuleCore: TDataModuleCore;
20
21implementation
22
23uses
24 UFormMain;
25
26{%CLASSGROUP 'Vcl.Controls.TControl'}
27
28{$R *.dfm}
29
30procedure TDataModuleCore.DataModuleCreate(Sender: TObject);
31begin
32 LDPlatform1.Init;
33end;
34
35end.
Note: See TracBrowser for help on using the repository browser.