void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Restaurant.GroupsUserControl)(target));
     return;
     case 2:
     this.ContentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btnNew = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\..\UserControls\GroupsUserControl.xaml"
     this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnEdit = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\..\UserControls\GroupsUserControl.xaml"
     this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnDelete = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\UserControls\GroupsUserControl.xaml"
     this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BorderAddEdit = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.txbBorderTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.txbGroupName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.txtGroupName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\..\UserControls\GroupsUserControl.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\..\UserControls\GroupsUserControl.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.GroupsGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.ProductWindow)(target));
     
     #line 13 "..\..\ProductWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StoryboardUnitFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.StoryboardGroupFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.StoryboardProductFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.StoryboardProductTreeFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     
     #line 127 "..\..\ProductWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 7:
     this.TabButtonUnit = ((System.Windows.Controls.Button)(target));
     
     #line 131 "..\..\ProductWindow.xaml"
     this.TabButtonUnit.Click += new System.Windows.RoutedEventHandler(this.TabButtonUnit_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TabButtonGroup = ((System.Windows.Controls.Button)(target));
     
     #line 132 "..\..\ProductWindow.xaml"
     this.TabButtonGroup.Click += new System.Windows.RoutedEventHandler(this.TabButtonGroup_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.TabButtonProduct = ((System.Windows.Controls.Button)(target));
     
     #line 133 "..\..\ProductWindow.xaml"
     this.TabButtonProduct.Click += new System.Windows.RoutedEventHandler(this.TabButtonProduct_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.TabButtonProductTree = ((System.Windows.Controls.Button)(target));
     
     #line 134 "..\..\ProductWindow.xaml"
     this.TabButtonProductTree.Click += new System.Windows.RoutedEventHandler(this.TabButtonProductTree_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.UnitsPane = ((Restaurant.UnitsUserControl)(target));
     return;
     case 12:
     this.GroupsPane = ((Restaurant.GroupsUserControl)(target));
     return;
     case 13:
     this.ProductsPane = ((Restaurant.ProductsUserControl)(target));
     return;
     case 14:
     this.ProductsTreePane = ((Restaurant.ProductTreeUserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }