Changeset 45 for trunk/Forms


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.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.lfm

    r44 r45  
    11object MainForm: TMainForm
    2   Left = 204
     2  Left = 501
    33  Height = 414
    4   Top = 88
     4  Top = 170
    55  Width = 665
    66  Caption = 'LazFuck'
     
    18571857    top = 296
    18581858  end
     1859  object ApplicationInfo: TApplicationInfo
     1860    Identification = 1
     1861    VersionMajor = 1
     1862    VersionMinor = 0
     1863    VersionBugFix = 0
     1864    VersionSuffix = 'alfa'
     1865    CompanyName = 'Chronosoft'
     1866    CompanyHomePage = 'http://svn.zdechov.net/trac/LazFuck'
     1867    HomePage = 'http://svn.zdechov.net/trac/LazFuck'
     1868    AuthorsName = 'Chronos'
     1869    EmailContact = 'robie@centrum.cz'
     1870    AppName = 'LazFuck'
     1871    ReleaseDate = 41102
     1872    RegistryKey = '\Software\Chronosoft\LazFuck'
     1873    RegistryRoot = rrKeyCurrentUser
     1874    left = 216
     1875    top = 296
     1876  end
    18591877end
  • 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.