void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.root = ((Microsoft.Samples.Kinect.BasicInteractions.StorySelectionControl)(target));
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.SubCategoryRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.TopRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.HomeButton = ((Microsoft.Samples.Kinect.BasicInteractions.HoverDwellButton)(target));
     return;
     case 6:
     this.Subcategories = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 7:
     this.LeftScrollRegion = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.RightScrollRegion = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.ContentScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 10:
     this.ContentItems = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 11:
     this.Story = ((Microsoft.Samples.Kinect.BasicInteractions.StoryControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CategoryListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 2:
     this.CategoryContent = ((Microsoft.Samples.Kinect.BasicInteractions.StorySelectionControl)(target));
     return;
     }
     this._contentLoaded = true;
 }