АВ
Size: a a a
АВ
SB
TDataExporterWorker = class(TThread)
protected
FOnExecute: TNotifyEvent;
procedure Execute(); override;
public
property OnExecute: TNotifyEvent read FOnExecute write FOnExecute;
end;
procedure TDataExporterWorker.Execute;
begin
if not Terminated then
begin
if Assigned(OnExecute) then OnExecute(Self);
Terminate();
end;
end;
VA
VA
АВ
VA
АВ
VA
VA
procedure TWThread.Execute;
begin
Synchronize(@DoWork);
//inherited;
end;
Synchronize
?DoWork
?АВ
VA
АВ
АВ
VA
VA
АВ
АВ
ea
ea
F