void ButtonStopClicked(object sender, EventArgs e) { if (AsyncOperation != null) { AsyncOperation.Cancel(); } }
void OnStopClicked(object sender, EventArgs args) { if (runningTestOperation != null) { runningTestOperation.Cancel(); } }
void StopRunningTests() { if (runningTestOperation != null) { runningTestOperation.Cancel(); } }
void OnCancelClicked(object sender, EventArgs e) { AsyncOperation.Cancel(); }
private void cancelCommand_Executed(object sender, EventArgs e) { _asyncOperation.Cancel(); }
void OnCancelRequested(IProgressMonitor sender) { AsyncOperation.Cancel(); }