procedure BitBtn1Click(Sender:TObject);
begin
if not Assigned(frmTaxi) then
frmTaxi := TfrmTaxi.Create(Application);
frmTaxi.ManualDock(Panel1);
frmTaxi.show;
end;
procedure BitBtn1Click(Sender:TObject);
begin
LockWindowUpdate(Handle);
try
if not Assigned(frmTaxi) then
frmTaxi := TfrmTaxi.Create(Application);
frmTaxi.ManualDock(Panel1);
frmTaxi.show;
end;
finally
LockWindowUpdate(0);
end;