Changeset 7 for trunk/StudioPackage/UDataModule.pas
- Timestamp:
- Aug 3, 2012, 10:42:13 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioPackage/UDataModule.pas
r6 r7 1 1 unit UDataModule; 2 2 3 {$mode objfpc}{$H+}3 {$mode delphi}{$H+} 4 4 5 5 interface 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, UProject, Forms ;8 Classes, SysUtils, FileUtil, UProject, Forms, SpecializedList, USource; 9 9 10 10 type 11 12 11 { TDataModule1 } 13 12 14 13 TDataModule1 = class(TDataModule) 15 14 procedure DataModuleCreate(Sender: TObject); 15 procedure DataModuleDestroy(Sender: TObject); 16 16 private 17 17 { private declarations } 18 18 public 19 19 Project: TProject; 20 FileTypes: TFileTypes; 20 21 end; 21 22 … … 39 40 Application.CreateForm(TFormSourceCode, FormSourceCode); 40 41 Application.CreateForm(TFormSettings, FormSettings); 42 FileTypes := TFileTypes.Create; 43 end; 44 45 procedure TDataModule1.DataModuleDestroy(Sender: TObject); 46 begin 47 FreeAndNil(FileTypes); 41 48 end; 42 49
Note:
See TracChangeset
for help on using the changeset viewer.