void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mTitle = (Label)target;
                break;

            case 2:
                this.mSubTitle = (Label)target;
                break;

            case 3:
                this.mDownloadButton        = (CustomButton)target;
                this.mDownloadButton.Click += new RoutedEventHandler(this.mDownloadButton_Click);
                break;

            case 4:
                this.mCloseBtn = (CustomPictureBox)target;
                this.mCloseBtn.MouseLeftButtonUp += new MouseButtonEventHandler(this.CloseBtn_MouseLeftButtonUp);
                break;

            case 5:
                ((FrameworkElement)target).Initialized += new EventHandler(this.TagLine_Initialized);
                break;

            case 6:
                ((FrameworkElement)target).Initialized += new EventHandler(this.Description_Initialized);
                break;

            case 7:
                ((FrameworkElement)target).Initialized += new EventHandler(this.FeaturesStack_Initialized);
                break;

            case 8:
                ((FrameworkElement)target).Initialized += new EventHandler(this.FeaturesText_Initialized);
                break;

            case 9:
                ((FrameworkElement)target).Initialized += new EventHandler(this.DetailsStack_Initialized);
                break;

            case 10:
                ((FrameworkElement)target).Initialized += new EventHandler(this.DetailsText_Initialized);
                break;

            case 11:
                this.slideShow = (SlideShowControl)target;
                break;

            default:
                this._contentLoaded = true;
                break;
            }
        }
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.slideControl         = (SlideShowControl)target;
                this.slideControl.Loaded += new RoutedEventHandler(this.SlideShowControl_Loaded);
                break;

            case 2:
                this.SlideshowGrid = (Grid)target;
                break;

            case 3:
                this.image1             = (CustomPictureBox)target;
                this.image1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image1_MouseEnter);
                this.image1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);
                break;

            case 4:
                this.mPrevBtn = (CustomPictureBox)target;
                this.mPrevBtn.MouseLeftButtonUp += new MouseButtonEventHandler(this.mPrevBtn_MouseLeftButtonUp);
                this.mPrevBtn.MouseLeave        += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);
                break;

            case 5:
                this.mNextBtn = (CustomPictureBox)target;
                this.mNextBtn.MouseLeftButtonUp += new MouseButtonEventHandler(this.mNextBtn_MouseLeftButtonUp);
                this.mNextBtn.MouseLeave        += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);
                break;

            case 6:
                this.SlideshowName = (TextBlock)target;
                break;

            default:
                this._contentLoaded = true;
                break;
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.slideControl = ((BlueStacks.BlueStacksUI.SlideShowControl)(target));

            #line 8 "..\..\..\controls\slideshowcontrol.xaml"
                this.slideControl.Loaded += new System.Windows.RoutedEventHandler(this.SlideShowControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.SlideshowGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.image1 = ((BlueStacks.Common.CustomPictureBox)(target));

            #line 25 "..\..\..\controls\slideshowcontrol.xaml"
                this.image1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image1_MouseEnter);

            #line default
            #line hidden

            #line 25 "..\..\..\controls\slideshowcontrol.xaml"
                this.image1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:
                this.mPrevBtn = ((BlueStacks.Common.CustomPictureBox)(target));

            #line 27 "..\..\..\controls\slideshowcontrol.xaml"
                this.mPrevBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mPrevBtn_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 27 "..\..\..\controls\slideshowcontrol.xaml"
                this.mPrevBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:
                this.mNextBtn = ((BlueStacks.Common.CustomPictureBox)(target));

            #line 29 "..\..\..\controls\slideshowcontrol.xaml"
                this.mNextBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mNextBtn_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 29 "..\..\..\controls\slideshowcontrol.xaml"
                this.mNextBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);

            #line default
            #line hidden
                return;

            case 6:
                this.SlideshowName = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }