Changeset 227 for branches/xpascal/Forms/FormMain.pas
- Timestamp:
- Jun 24, 2023, 1:20:22 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/xpascal/Forms/FormMain.pas
r225 r227 14 14 TFormMain = class(TForm) 15 15 ACompile: TAction; 16 ATest: TAction; 16 17 AGenerateXml: TAction; 17 18 AExit: TAction; … … 29 30 MenuItem6: TMenuItem; 30 31 MenuItem7: TMenuItem; 32 MenuItem8: TMenuItem; 33 MenuItem9: TMenuItem; 31 34 MenuItemRun: TMenuItem; 32 35 MenuItemGenerate: TMenuItem; … … 42 45 procedure AGeneratePhpExecute(Sender: TObject); 43 46 procedure AGenerateXmlExecute(Sender: TObject); 47 procedure ATestExecute(Sender: TObject); 44 48 procedure FormCreate(Sender: TObject); 45 49 procedure Optimize(Features: TOptimizeFeatures); … … 71 75 72 76 uses 73 Parser, Executor, GeneratorPascal, GeneratorPhp, 77 Parser, Executor, GeneratorPascal, GeneratorPhp, FormTests, 74 78 GeneratorCSharp, GeneratorXml, ParserPascal; 75 79 … … 94 98 FreeAndNil(FormSource); 95 99 FreeAndNil(FormMessages); 100 FreeAndNil(FormOutput); 96 101 end; 97 102 … … 194 199 end; 195 200 201 procedure TFormMain.ATestExecute(Sender: TObject); 202 begin 203 with TFormTests.Create(nil) do 204 try 205 ShowModal; 206 finally 207 Free; 208 end; 209 end; 210 196 211 procedure TFormMain.FormCreate(Sender: TObject); 197 212 begin
Note:
See TracChangeset
for help on using the changeset viewer.