Ignore:
Timestamp:
Sep 8, 2012, 9:38:38 PM (12 years ago)
Author:
chronos
Message:
  • Added: Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.pas

    r28 r31  
    1616  TMainForm = class(TForm)
    1717    AAbout: TAction;
     18    ApplicationInfo1: TApplicationInfo;
    1819    AShowRawImageDesc: TAction;
    1920    AShowMap: TAction;
     
    112113begin
    113114  PersistentForm := TPersistentForm.Create;
    114   PersistentForm.RegistryKey := '\Software\' + ApplicationInfo.CompanyName + '\' + ApplicationInfo.Name;
     115  PersistentForm.RegistryKey := ApplicationInfo1.RegistryKey;
     116  PersistentForm.RegistryRootKey := HKEY(ApplicationInfo1.RegistryRoot);
    115117
    116118  Application.OnDeactivate := FormDeactivate;
Note: See TracChangeset for help on using the changeset viewer.