Ignore:
Timestamp:
Jun 2, 2013, 5:41:42 PM (11 years ago)
Author:
chronos
Message:
Location:
os/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • os/trunk

    • Property svn:ignore
      •  

        old new  
        22*.~dsk
        33__history
         4*.identcache
  • os/trunk/Applications/TestApplication.pas

    r5 r6  
    44
    55uses
    6   Vcl.Graphics, Xvcl.Controls, Xvcl.Classes, Xvcl.Forms, SysUtils;
     6  Vcl.Graphics, Xvcl.Controls, Xvcl.Classes, Xvcl.Forms, LDOS.Kernel, SysUtils;
    77
    88type
     
    1212    Button: TButton;
    1313    Label1: TLabel;
     14    Timer1: TTimer;
    1415    procedure Run; override;
    1516    procedure ButtonClick(Sender: TObject);
     
    1819
    1920implementation
    20 
    21 uses
    22   LDOS.Kernel;
    2321
    2422{ TTestApplication }
     
    4341  Form2.Caption := 'Some form';
    4442  Form2.Screen := Screen;
     43  Timer1 := TTimer.Create;
     44  Timer1.Interval := 1000;
     45  Timer1.Enabled := True;
     46  TScreen(Screen).Kernel.Timers.Add(Timer1);
    4547  Button := TButton.Create;
    4648  Button.Parent := Form1;
     
    5658  Label1.Caption := '0';
    5759  Form1.Controls.Add(Label1);
     60  MainForm := Form1;
    5861  TScreen(Screen).Forms.Add(Form1);
    5962  TScreen(Screen).Forms.Add(Form2);
Note: See TracChangeset for help on using the changeset viewer.