Example #1
0
        private void PerformWeblogAndSettingsAutoDetectionSubStep()
        {
            // Clear the provider so the user will be forced to do autodetection
            // until we have successfully configured a publishing interface
            _temporarySettings.ClearProvider();
            _detectionOperation = new WizardWeblogAndSettingsAutoDetectionOperation(_editWithStyleStep);

            // performe the step
            addWizardSubStep(new WizardAutoDetectionStep(
                                 (IBlogClientUIContext)this,
                                 _temporarySettings,
                                 new NextCallback(OnWeblogAndSettingsAutoDetectionCompleted),
                                 _detectionOperation));
        }
Example #2
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 PerformWeblogAndSettingsAutoDetectionSubStep()
        {
            // Clear the provider so the user will be forced to do autodetection
            // until we have successfully configured a publishing interface
            _temporarySettings.ClearProvider();
            _detectionOperation = new WizardWeblogAndSettingsAutoDetectionOperation(_editWithStyleStep);

            // performe the step
            addWizardSubStep(new WizardAutoDetectionStep(
                (IBlogClientUIContext)this,
                _temporarySettings,
                new NextCallback(OnWeblogAndSettingsAutoDetectionCompleted),
                _detectionOperation));
        }
        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);
        }