Changeset 167 for trunk/Core.pas


Ignore:
Timestamp:
Jul 1, 2023, 11:54:02 AM (17 months ago)
Author:
chronos
Message:
  • Added: Import form preparation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r165 r167  
    1515  TCore = class(TDataModule)
    1616    AAbout: TAction;
     17    AFileImport: TAction;
    1718    AFileExport: TAction;
    1819    ANormalize: TAction;
     
    5152    procedure AFileCompareExecute(Sender: TObject);
    5253    procedure AFileExportExecute(Sender: TObject);
     54    procedure AFileImportExecute(Sender: TObject);
    5355    procedure AFileNewExecute(Sender: TObject);
    5456    procedure AFileOpenExecute(Sender: TObject);
     
    132134  FormSettings, FormFindDuplicity, FormCompare, TestCase, FormNormalize,
    133135  FormGenerate, FormError, FormFind, FormSource, TestCases, FormExport, FormEx,
    134   FormAbout, FormTests;
     136  FormAbout, FormTests, FormImport;
    135137
    136138resourcestring
     
    210212  finally
    211213    FormExport.Free;
     214  end;
     215end;
     216
     217procedure TCore.AFileImportExecute(Sender: TObject);
     218var
     219  FormImport: TFormImport;
     220begin
     221  FormImport := TFormImport.Create(nil);
     222  try
     223    FormImport.ShowModal;
     224  finally
     225    FormImport.Free;
    212226  end;
    213227end;
Note: See TracChangeset for help on using the changeset viewer.