Ignore:
Timestamp:
Aug 1, 2012, 11:10:12 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Base pagecontrol layout.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StudioPackage/UDataModule.pas

    r2 r4  
    66
    77uses
    8   Classes, SysUtils, FileUtil;
     8  Classes, SysUtils, FileUtil, UProject, Forms;
    99
    1010type
     11
     12  { TDataModule1 }
     13
    1114  TDataModule1 = class(TDataModule)
     15    procedure DataModuleCreate(Sender: TObject);
    1216  private
    1317    { private declarations }
    1418  public
    15     { public declarations }
     19    Project: TProject;
    1620  end;
    1721
     
    1923  DataModule1: TDataModule1;
    2024
     25
    2126implementation
    2227
    2328{$R *.lfm}
    2429
     30uses
     31  UFormSourceCode, UFormMain, UFormProject;
     32
     33{ TDataModule1 }
     34
     35procedure TDataModule1.DataModuleCreate(Sender: TObject);
     36begin
     37  Application.CreateForm(TFormMain, FormMain);
     38  Application.CreateForm(TFormProject, FormProject);
     39  Application.CreateForm(TFormSourceCode, FormSourceCode);
     40end;
     41
    2542end.
    2643
Note: See TracChangeset for help on using the changeset viewer.