Example #1
0
        public IProgressUI StartProgress(CancellationTokenSource cancellationTokenSource)
        {
            var progressForm = new ProgressForm(cancellationTokenSource);
            progressForm.Show(this);
            Enabled = false;

            return progressForm;
        }
Example #2
0
        public IProgressUI StartProgress()
        {
            var progressForm = new ProgressForm();
            progressForm.Show(this);
            Enabled = false;

            return progressForm;
        }