Changeset 37 for branches/DelphiToC/UMainForm.pas
- Timestamp:
- Aug 4, 2010, 4:10:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DelphiToC/UMainForm.pas
r36 r37 9 9 Dialogs, StdCtrls, UPascalSource, UPascalCompiler, UAssemblerSource, 10 10 UCSource, ComCtrls; 11 12 const 13 ExampleFileName = '../../Example.pas'; 11 14 12 15 type … … 125 128 procedure TMainForm.FormClose(Sender: TObject; var Action: TCloseAction); 126 129 begin 127 Memo1.Lines.SaveToFile( 'Example.pas');130 Memo1.Lines.SaveToFile(ExampleFileName); 128 131 end; 129 132 … … 141 144 procedure TMainForm.FormShow(Sender: TObject); 142 145 begin 143 Memo1.Lines.LoadFromFile( 'Example.pas');146 Memo1.Lines.LoadFromFile(ExampleFileName); 144 147 Button1Click(Self); 145 148 end;
Note:
See TracChangeset
for help on using the changeset viewer.