protected override void DoWork(InitializeProgressCallback initializeCallback, ProgressCallback progressCallback, StatusCallback primaryStatusTextCallback, StatusCallback secondaryStatusTextCallback) { while (_countForWork < 100) { if (Canceling) { wasCancelled = true; return; } DoPretendWork(); _countForWork++; } }
protected override void DoWork(InitializeProgressCallback initializeCallback, ProgressCallback progressCallback, StatusCallback primaryStatusTextCallback, StatusCallback secondaryStatusTextCallback) { while (_countForWork < 100) { if(Canceling ) { wasCancelled = true; return; } DoPretendWork(); _countForWork++; } }
protected abstract void DoWork( InitializeProgressCallback initializeCallback, ProgressCallback progressCallback, StatusCallback primaryStatusTextCallback, StatusCallback secondaryStatusTextCallback );
protected abstract void DoWork( InitializeProgressCallback initializeCallback, ProgressCallback progressCallback, StatusCallback primaryStatusTextCallback, StatusCallback secondaryStatusTextCallback );