|
|
#2
anthony6342007-11-08 18:41
|
procedure TForm1.Timer1Timer(Sender: TObject);
begin
IdTime1.Host:='210.72.145.44';
label3.Caption:=datetimetostr(IdTime1.DateTime);
label4.Caption:=datetimetostr(Now());
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
IdTime1.SyncTime;
end;
end.
只有本站会员才能查看附件,请 登录
[此贴子已经被作者于2007-11-8 15:37:10编辑过]