小
小刀客
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TNeedDiskEvent = procedure(Sender: TObject
DiskID, NumOfDisks: Word
var Continue: Boolean) of object;
TProgressEvent = procedure(Sender: TObject
PercentDone: Word) of object;
TFileSplitter = class(TComponent)
private
FOnNeedDisk: TNeedDiskEvent;
FOnProgress: TProgressEvent;
我弄不清TNeedDiskEvent是个过程,怎么也当类用?这是正确的吗
TNeedDiskEvent = procedure(Sender: TObject
DiskID, NumOfDisks: Word
var Continue: Boolean) of object;
TProgressEvent = procedure(Sender: TObject
PercentDone: Word) of object;
TFileSplitter = class(TComponent)
private
FOnNeedDisk: TNeedDiskEvent;
FOnProgress: TProgressEvent;
我弄不清TNeedDiskEvent是个过程,怎么也当类用?这是正确的吗