Ignore:
Timestamp:
Jul 12, 2012, 7:08:10 AM (12 years ago)
Author:
chronos
Message:
  • Modified: ApplicationInfo is now component. Base unit is located in Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r44 r45  
    88  Classes, SysUtils, FileUtil, SynEdit, Forms, Controls, Graphics, Dialogs,
    99  Menus, ActnList, StdCtrls, ComCtrls, ExtCtrls, UTargetInterpretter,
    10   UCoolTranslator, StrUtils, SpecializedList, UTarget, Registry, URegistry,
    11   ULastOpenedList, Process;
     10  UCoolTranslator, StrUtils, SpecializedList, UTarget, UApplicationInfo,
     11  Registry, URegistry, ULastOpenedList, Process;
    1212
    1313const
     
    1919
    2020  TMainForm = class(TForm)
     21    ApplicationInfo: TApplicationInfo;
    2122    AProgramShowExecutionPoint: TAction;
    2223    AShowSourcePosition: TAction;
     
    197198
    198199uses
    199   UFormCPU, UApplicationInfo, UFormOptions, UFormMessages, UTargetJava,
     200  UFormCPU, UFormOptions, UFormMessages, UTargetJava,
    200201  UTargetDelphi, UTargetPHP, UTargetC, UFormTargets, UFormOutput, UFormInput,
    201202  UFormMemory;
     
    338339procedure TMainForm.LastOpenedListChange(Sender: TObject);
    339340begin
    340   LastOpenedList.LoadToMenuItem(MenuItemOpenRecent);
     341  LastOpenedList.LoadToMenuItem(MenuItemOpenRecent, AProjectOpenRecentExecute);
    341342end;
    342343
     
    446447  LastOpenedList := TLastOpenedList.Create(nil);
    447448  LastOpenedList.OnChange := LastOpenedListChange;
    448   LastOpenedList.ClickAction := AProjectOpenRecentExecute;
    449449  LoadFromRegistry(RegistryRoot, ApplicationInfo.RegistryKey);
    450450end;
Note: See TracChangeset for help on using the changeset viewer.