Changeset 8 for branches/bigint/Forms
- Timestamp:
- Aug 2, 2024, 9:36:35 AM (4 months ago)
- Location:
- branches/bigint
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bigint
- Property svn:ignore
-
old new 4 4 BigIntVM.dbg 5 5 lib 6 heaptrclog.trc
-
- Property svn:ignore
-
branches/bigint/Forms/FormDisassembler.pas
r6 r8 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Disassembler; 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Disassembler, 7 FormEx; 7 8 8 9 type … … 10 11 { TFormDisassembler } 11 12 12 TFormDisassembler = class(TForm )13 TFormDisassembler = class(TFormEx) 13 14 MemoCode: TMemo; 14 15 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); -
branches/bigint/Forms/FormMain.pas
r6 r8 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Machine, Int,7 Cpu, Assembler, FormDisassembler;6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Machine, 7 Assembler, FormDisassembler, FormEx, FormMemory; 8 8 9 9 type … … 11 11 { TFormMain } 12 12 13 TFormMain = class(TForm )13 TFormMain = class(TFormEx) 14 14 Memo1: TMemo; 15 15 procedure FormCreate(Sender: TObject); … … 20 20 public 21 21 SubFormDisassembler: TFormDisassembler; 22 SubFormMemory: TFormMemory; 22 23 Machine: TMachine; 23 24 end; … … 41 42 procedure TFormMain.FormDestroy(Sender: TObject); 42 43 begin 44 FreeAndNil(SubFormMemory); 45 FreeAndNil(SubFormDisassembler); 43 46 FreeAndNil(Machine); 44 47 end; … … 66 69 SubFormDisassembler.Disassembler.Memory := Machine.Memory; 67 70 SubFormDisassembler.Show; 71 72 SubFormMemory := TFormMemory.Create(nil); 73 SubFormMemory.Memory := Machine.Memory; 74 SubFormMemory.Show; 68 75 end; 69 76
Note:
See TracChangeset
for help on using the changeset viewer.