private host_Progress ( int percent, byte arrayID, ushort rowNum ) : void | ||
percent | int | |
arrayID | byte | |
rowNum | ushort | |
return | void |
void host_Progress(int percent, byte arrayID, ushort rowNum)
{
if (worker.CancellationPending)
{
host.Abort();
}
else
{
worker.ReportProgress(percent, Tuple.Create<byte, ushort>(arrayID, rowNum));
}
}