Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FolderPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:

            #line 13 "..\..\..\Pages\PictureContenter.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowFileSelect_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 14 "..\..\..\Pages\PictureContenter.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.AutoWidth_Check);

            #line default
            #line hidden

            #line 14 "..\..\..\Pages\PictureContenter.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnAutoWidth_Check);

            #line default
            #line hidden
                return;

            case 4:
                this.widthSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 5:
                this.PicList = ((PictureShower.PictureList)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.FolderPath = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     
     #line 13 "..\..\..\Pages\PictureContenter.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowFileSelect_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 14 "..\..\..\Pages\PictureContenter.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.AutoWidth_Check);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\Pages\PictureContenter.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnAutoWidth_Check);
     
     #line default
     #line hidden
     return;
     case 4:
     this.widthSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 5:
     this.PicList = ((PictureShower.PictureList)(target));
     return;
     }
     this._contentLoaded = true;
 }