void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((ProductBrowser.ProductDetails)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ProductDetailsContainer = ((System.Windows.Controls.Border)(target)); return; case 4: this.ProductDetailsTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.ProductDetailsGrid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.ProductNumberTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.ProductNumberTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.ProductNameTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.ProductNameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.ProductPriceTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.ProductPriceTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.ProductCategoryTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.ProductCategoryTextBox = ((System.Windows.Controls.TextBox)(target)); #line 48 "..\..\ProductDetails.xaml" this.ProductCategoryTextBox.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.ProductCategoryTextBox_DataContextChanged); #line default #line hidden return; case 14: this.AddProductButton = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\ProductDetails.xaml" this.AddProductButton.Click += new System.Windows.RoutedEventHandler(this.AddProductButton_Click); #line default #line hidden return; case 15: this.UpdateProductButton = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\ProductDetails.xaml" this.UpdateProductButton.Click += new System.Windows.RoutedEventHandler(this.UpdateProductButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((ProductBrowser.MainWindow)(target)); return; case 2: this.ApplicationContainer = ((System.Windows.Controls.Border)(target)); return; case 3: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 4: this.ProductBrowserTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.SiteConnectionContainer = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.WingtipSiteUrlTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.WingtipSiteUrlTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.ConnectSiteButton = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\MainWindow.xaml" this.ConnectSiteButton.Click += new System.Windows.RoutedEventHandler(this.ConnectSiteButton_Click); #line default #line hidden return; case 9: this.ProductCategoriesContainer = ((System.Windows.Controls.StackPanel)(target)); return; case 10: this.ProductCategoriesTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.ProductCategoriesListBox = ((System.Windows.Controls.ListBox)(target)); #line 47 "..\..\MainWindow.xaml" this.ProductCategoriesListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductCategoriesListBox_SelectionChanged); #line default #line hidden return; case 12: this.ProductsContainer = ((System.Windows.Controls.StackPanel)(target)); return; case 13: this.ProductsTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.ProductsListBox = ((System.Windows.Controls.ListBox)(target)); #line 56 "..\..\MainWindow.xaml" this.ProductsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductsListBox_SelectionChanged); #line default #line hidden return; case 15: this.ProductDetails = ((ProductBrowser.ProductDetails)(target)); return; case 16: this.StatusBar = ((ProductBrowser.StatusBarControl)(target)); return; } this._contentLoaded = true; }