예제 #1
0
        public void UpdateProgress(string waitMessage, string progressText, int currentStep, int totalSteps,
                                   bool disableCancel, out bool canceled)
        {
            var flag = UpdateDialogHelper(waitMessage, progressText, !disableCancel, currentStep, totalSteps);

            if (UnsafeHelpers.IsOptionalOutParamSet(out canceled))
            {
                return;
            }

            canceled = flag;
        }