Changeset 126 for trunk/UCore.pas
- Timestamp:
- Apr 6, 2022, 11:36:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r123 r126 17 17 AAbout: TAction; 18 18 AboutDialog1: TAboutDialog; 19 ARemoveExactDuplicates: TAction; 19 20 AFileCompare: TAction; 20 21 AViewSource: TAction; … … 60 61 procedure AGenerateExecute(Sender: TObject); 61 62 procedure AHomePageExecute(Sender: TObject); 63 procedure ARemoveExactDuplicatesExecute(Sender: TObject); 62 64 procedure ASettingsExecute(Sender: TObject); 63 65 procedure ATestExecute(Sender: TObject); … … 66 68 procedure DataModuleDestroy(Sender: TObject); 67 69 procedure LastOpenedList1Change(Sender: TObject); 70 procedure TranslatorTranslate(Sender: TObject); 68 71 private 69 72 InitializeStarted: Boolean; … … 113 116 114 117 uses 115 UFormMain, UFormSettings, UContact, UFormContacts, UFormFindDuplicity, 116 UFormGenerate, UFormError, UFormFind, UFormTest, UFormSource, UFormCompare; 118 UFormMain, UFormSettings, UContact, UFormContacts, UFormFindDuplicity, UTest, 119 UFormGenerate, UFormError, UFormFind, UFormTest, UFormSource, UFormCompare, 120 UTestCases; 117 121 118 122 resourcestring … … 294 298 end; 295 299 300 procedure TCore.ARemoveExactDuplicatesExecute(Sender: TObject); 301 begin 302 TContactsFile(DataFile).Contacts.RemoveExactDuplicates; 303 UpdateFile; 304 end; 305 296 306 procedure TCore.ASettingsExecute(Sender: TObject); 297 307 begin … … 313 323 with TFormTest.Create(nil) do 314 324 try 315 ShowModal; 325 TestCases := InitTestCases; 326 try 327 ShowModal; 328 finally 329 TestCases.Free; 330 end; 316 331 finally 317 332 Free; … … 428 443 LastOpenedList1.LoadToMenuItem(FormMain.MenuItemFileOpenRecent, AFileOpenRecentExecute); 429 444 LastOpenedList1.LoadToMenuItem(FormMain.PopupMenuOpenRecent.Items, AFileOpenRecentExecute); 445 end; 446 447 procedure TCore.TranslatorTranslate(Sender: TObject); 448 begin 449 UTest.Translate; 430 450 end; 431 451
Note:
See TracChangeset
for help on using the changeset viewer.