private void downloadAndUnzipXenServerPatchAction_Changed(ActionBase action) { if (action == null) { return; } if (Cancelling) { action.Cancel(); } var bpAction = action as IByteProgressAction; if (bpAction == null) { return; } if (!string.IsNullOrEmpty(bpAction.ByteProgressDescription)) { ReplaceProgressStep(bpAction.ByteProgressDescription); } }
protected void StopAction() { currentAction.Cancel(); }
private void CancelAction(object sender, EventArgs e) { Action.Cancel(); setupRowDetails(); }