void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainMenu = ((RecipeWPFUI.MainWindow)(target)); return; case 2: this.RecipeViewControl = ((RecipeWPFUI.Views.RecipeView)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainMenu = ((RecipeWPFUI.MainWindow)(target)); return; case 2: this.welcomeLabel = ((System.Windows.Controls.Label)(target)); return; case 3: this.cuisineListView = ((System.Windows.Controls.ListView)(target)); return; case 4: this.italianCuisineListViewItem = ((System.Windows.Controls.ListViewItem)(target)); return; case 5: this.frenchCuisineListViewItem = ((System.Windows.Controls.ListViewItem)(target)); return; case 6: this.asianCuisineListViewItem = ((System.Windows.Controls.ListViewItem)(target)); return; case 7: this.americanCuisineListViewItem = ((System.Windows.Controls.ListViewItem)(target)); return; case 8: this.searchListView = ((System.Windows.Controls.ListView)(target)); return; case 9: this.searchTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.cuisinesLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }