Исходники и листинги ::: Delphi ::: разница во времени

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  unit Unit1;
 
  interface
 
  uses
    Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    Dialogs, ExtCtrls, StdCtrls;
 
  type
    TForm1 = class(TForm)
      Label1: TLabel;
      Timer1: TTimer;
      Label2: TLabel;
      Label3: TLabel;
      Label4: TLabel;
      Timer2: TTimer;
      procedure Timer1Timer(Sender: TObject);
      procedure Timer2Timer(Sender: TObject);
    private
      { Private declarations }
    public
      { Public declarations }
    end;
 
  var
    Form1: TForm1;
 
  implementation
 
  {$R *.dfm}
 
  procedure TForm1.Timer1Timer(Sender: TObject);
  begin
  Label1.Caption:=TimeToStr(Now);
 
  end;
 
  procedure TForm1.Timer2Timer(Sender: TObject);
  begin
   label3.Caption:=TimeToStr(Time - 3/24);
  end;
 
  end.
<<< Предыдущая работа

Вернуться в галерею исходников
разница во времени
Автор: Kripton
Город: Томск
Дата: 17.01.2007  07:49
Комментариев: 0
Просмотров: 152
Оценка: 1 (0|0|0|0|1) [1]

Вернуться на главную
Авторский комментарий к работе: Смотрите работу
Вы не можете оценивать

КОММЕНТАРИИ К РАБОТЕ:
Нет комментариев