Changeset 10 for trunk/StudioPackage/UDataModule.pas
- Timestamp:
- Aug 3, 2012, 1:55:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioPackage/UDataModule.pas
r9 r10 108 108 ModuleManager.API := API; 109 109 110 Application.CreateForm(TFormMain, FormMain); 110 FormMain := TFormMain.Create(nil); 111 Application.UpdateMainForm(FormMain); 111 112 OpenedFiles.OnOpenFile := FormMain.OpenFileExecute; 112 Application.CreateForm(TFormProject, FormProject);113 Application.CreateForm(TFormSourceCode, FormSourceCode);114 Application.CreateForm(TFormSettings, FormSettings);115 Application.CreateForm(TFormModuleList, FormModuleList);113 FormProject := TFormProject.Create(nil); 114 FormSourceCode := TFormSourceCode.Create(nil); 115 FormSettings := TFormSettings.Create(nil); 116 FormModuleList := TFormModuleList.Create(nil); 116 117 117 118 TLDStudioAPI(ModuleManager.API).MainForm := FormMain; 118 119 TLDStudioAPI(ModuleManager.API).MainMenu := FormMain.MainMenu; 119 120 TLDStudioAPI(ModuleManager.API).FileTypes := FileTypes; 121 FormMain.Show; 120 122 end; 121 123 … … 124 126 FreeAndNil(ModuleManager); 125 127 FreeAndNil(API); 128 FreeAndNil(FormMain); 129 FreeAndNil(FormProject); 130 FreeAndNil(FormSourceCode); 131 FreeAndNil(FormSettings); 132 FreeAndNil(FormModuleList); 126 133 FreeAndNil(OpenedFiles); 127 134 FreeAndNil(FileTypes);
Note:
See TracChangeset
for help on using the changeset viewer.