예제 #1
0
        private void AddAutoDetectionStep()
        {
            _detectionOperation = new WizardSharePointAutoDetectionOperation(_editWithStyleStep);

            WizardSharePointAutoDetectionStep sharePointDetectionStep =
                new WizardSharePointAutoDetectionStep(
                    (IBlogClientUIContext)this,
                    _temporarySettings,
                    new NextCallback(OnWeblogAndSettingsAutoDetectionCompleted),
                    _detectionOperation);

            if (!_authenticationStepAdded)
            {
                sharePointDetectionStep.AuthenticationErrorOccurred += new EventHandler(sharePointDetectionStep_AuthenticationErrorOccurred);
            }

            addWizardSubStep(sharePointDetectionStep);
        }
        private void AddAutoDetectionStep()
        {
            _detectionOperation = new WizardSharePointAutoDetectionOperation(_editWithStyleStep);

            WizardSharePointAutoDetectionStep sharePointDetectionStep =
                new WizardSharePointAutoDetectionStep(
                (IBlogClientUIContext)this,
                _temporarySettings,
                new NextCallback(OnWeblogAndSettingsAutoDetectionCompleted),
                _detectionOperation);

            if (!_authenticationStepAdded)
                sharePointDetectionStep.AuthenticationErrorOccurred += new EventHandler(sharePointDetectionStep_AuthenticationErrorOccurred);

            addWizardSubStep(sharePointDetectionStep);
        }