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);
            }
        }
示例#2
0
 protected void StopAction()
 {
     currentAction.Cancel();
 }
示例#3
0
 private void CancelAction(object sender, EventArgs e)
 {
     Action.Cancel();
     setupRowDetails();
 }