protected virtual void AddDesignerRegions(DesignerRegionCollection regions)
 {
     if (this.SupportsDesignerRegions)
     {
         foreach (WizardStepBase base2 in this._wizard.WizardSteps)
         {
             if (base2 is TemplatedWizardStep)
             {
                 TemplateDefinition templateDefinition = new TemplateDefinition(this, "ContentTemplate", this._wizard, "ContentTemplate", this.TemplateStyleArray[5]);
                 DesignerRegion region = new WizardStepTemplatedEditableRegion(templateDefinition, base2) {
                     Description = System.Design.SR.GetString("ContainerControlDesigner_RegionWatermark")
                 };
                 regions.Add(region);
             }
             else
             {
                 DesignerRegion region2 = new WizardStepEditableRegion(this, base2) {
                     Description = System.Design.SR.GetString("ContainerControlDesigner_RegionWatermark")
                 };
                 regions.Add(region2);
             }
         }
         foreach (WizardStepBase base3 in this._wizard.WizardSteps)
         {
             regions.Add(new WizardSelectableRegion(this, "Move to " + this.GetRegionName(base3), base3));
         }
     }
 }
 protected override void AddDesignerRegions(DesignerRegionCollection regions)
 {
     if (base.SupportsDesignerRegions)
     {
         if (this._createUserWizard.CreateUserStep == null)
         {
             this.CreateChildControls();
             if (this._createUserWizard.CreateUserStep == null)
             {
                 return;
             }
         }
         bool flag = this._createUserWizard.CreateUserStep.ContentTemplate == null;
         bool flag2 = this._createUserWizard.CompleteStep.ContentTemplate == null;
         foreach (WizardStepBase base2 in this._createUserWizard.WizardSteps)
         {
             bool flag3 = (flag && (base2 is CreateUserWizardStep)) || (flag2 && (base2 is CompleteWizardStep));
             DesignerRegion region = null;
             if (!flag3)
             {
                 if (base2 is TemplatedWizardStep)
                 {
                     TemplateDefinition templateDefinition = new TemplateDefinition(this, "ContentTemplate", this._createUserWizard, "ContentTemplate", base.TemplateStyleArray[5]);
                     region = new WizardStepTemplatedEditableRegion(templateDefinition, base2) {
                         EnsureSize = false
                     };
                 }
                 else
                 {
                     region = new WizardStepEditableRegion(this, base2);
                 }
                 region.Description = System.Design.SR.GetString("ContainerControlDesigner_RegionWatermark");
             }
             else
             {
                 region = new WizardSelectableRegion(this, base.GetRegionName(base2), base2);
             }
             regions.Add(region);
         }
         foreach (WizardStepBase base3 in this._createUserWizard.WizardSteps)
         {
             WizardSelectableRegion region2 = new WizardSelectableRegion(this, "Move to " + base.GetRegionName(base3), base3);
             if (this._createUserWizard.ActiveStep == base3)
             {
                 region2.Selected = true;
             }
             regions.Add(region2);
         }
     }
 }