Ignore:
Timestamp:
May 4, 2016, 9:51:49 PM (9 years ago)
Author:
chronos
Message:
  • Added: About application information form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r20 r21  
    1616
    1717  TFormMain = class(TForm)
     18    AShowAbout: TAction;
    1819    AShowImportSources: TAction;
    1920    AShowAcronyms: TAction;
     
    5253    MenuItem22: TMenuItem;
    5354    MenuItem4: TMenuItem;
     55    MenuItem5: TMenuItem;
     56    MenuItem6: TMenuItem;
    5457    MenuItemOpenRecent: TMenuItem;
    5558    MenuItem2: TMenuItem;
     
    7073    procedure AImportExecute(Sender: TObject);
    7174    procedure ASettingsExecute(Sender: TObject);
     75    procedure AShowAboutExecute(Sender: TObject);
    7276    procedure AShowAcronymsExecute(Sender: TObject);
    7377    procedure AShowCategoriesExecute(Sender: TObject);
     
    115119uses
    116120  UFormImport, UFormAcronym, UFormSettings, UFormCategories, UFormAcronyms,
    117   UFormImportSource, UFormImportSources;
     121  UFormImportSource, UFormImportSources, UFormAbout;
    118122
    119123resourcestring
     
    244248  if FormSettings.ShowModal = mrOk then
    245249    FormSettings.Save;
     250end;
     251
     252procedure TFormMain.AShowAboutExecute(Sender: TObject);
     253begin
     254  FormAbout.ShowModal;
    246255end;
    247256
Note: See TracChangeset for help on using the changeset viewer.