Changeset 109 for trunk/UCore.pas


Ignore:
Timestamp:
Oct 13, 2016, 9:43:50 AM (8 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r107 r109  
    77uses
    88  Classes, SysUtils, FileUtil, UAcronym, UCoolTranslator, UPersistentForm,
    9   UJobProgressView, UScaleDPI, Forms, Controls, LazFileUtils, URegistry,
    10   Registry;
     9  UJobProgressView, UScaleDPI, Forms, Controls, ExtCtrls, Menus, LazFileUtils,
     10  URegistry, Registry;
    1111
    1212type
     
    1616  TCore = class(TDataModule)
    1717    CoolTranslator1: TCoolTranslator;
     18    ImageList1: TImageList;
    1819    JobProgressView1: TJobProgressView;
     20    MenuItem1: TMenuItem;
     21    MenuItem19: TMenuItem;
     22    MenuItem2: TMenuItem;
     23    MenuItem26: TMenuItem;
     24    MenuItem27: TMenuItem;
     25    MenuItem28: TMenuItem;
     26    MenuItem3: TMenuItem;
    1927    PersistentForm1: TPersistentForm;
     28    PopupMenuTrayIcon: TPopupMenu;
    2029    ScaleDPI1: TScaleDPI;
     30    TrayIcon1: TTrayIcon;
    2131    procedure CoolTranslator1Translate(Sender: TObject);
    2232    procedure DataModuleCreate(Sender: TObject);
     
    166176procedure TCore.ScaleDPI;
    167177begin
    168   Core.ScaleDPI1.ScaleImageList(FormMain.ImageList1, Core.ScaleDPI1.DesignDPI);
     178  Core.ScaleDPI1.ScaleImageList(ImageList1, Core.ScaleDPI1.DesignDPI);
    169179  Core.ScaleDPI1.ScaleControl(FormMain.ToolBar1, Core.ScaleDPI1.DesignDPI);
    170180end;
Note: See TracChangeset for help on using the changeset viewer.