///<summary>
        ///Initializes the designer with the specified component.
        ///</summary>
        ///
        ///<param name="component">The <see cref="T:System.ComponentModel.IComponent"></see> to associate with the designer. </param>
        public override void Initialize(IComponent component)
        {
            base.Initialize(component);
            AutoResizeHandles = true;
            ISelectionService service = (ISelectionService)GetService(typeof(ISelectionService));

            if (service != null)
            {
                service.SelectionChanged += OnSelectionChanged;
            }
            WizardControl control = (WizardControl)Control;

            wizardDesignerActionList = new WizardDesignerActionList(control);
            actionListCollection.Add(wizardDesignerActionList);
            control.CurrentStepIndexChanged += CurrentStepIndexChanged;
            control.WizardSteps.Inserted    += RefreshComponent;
        }
 ///<summary>
 ///Initializes the designer with the specified component.
 ///</summary>
 ///
 ///<param name="component">The <see cref="T:System.ComponentModel.IComponent"></see> to associate with the designer. </param>
 public override void Initialize(IComponent component)
 {
     base.Initialize(component);
     AutoResizeHandles = true;
     ISelectionService service = (ISelectionService) GetService(typeof (ISelectionService));
     if (service != null)
     {
         service.SelectionChanged += OnSelectionChanged;
     }
     WizardControl control = (WizardControl) Control;
     wizardDesignerActionList = new WizardDesignerActionList(control);
     actionListCollection.Add(wizardDesignerActionList);
     control.CurrentStepIndexChanged += CurrentStepIndexChanged;
     control.WizardSteps.Inserted += RefreshComponent;
 }