void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((STU_SoccerLineup2D.MainWindow)(target));
     
     #line 12 "..\..\MainWindow.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.visibleCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.fieldPlayersRotate = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.fieldPlayers = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.field = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.grass = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 7:
     this.lines = ((System.Windows.Controls.Image)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.lines.ManipulationStarting += new System.EventHandler<System.Windows.Input.ManipulationStartingEventArgs>(this.field_ManipulationStarting);
     
     #line default
     #line hidden
     
     #line 25 "..\..\MainWindow.xaml"
     this.lines.ManipulationDelta += new System.EventHandler<System.Windows.Input.ManipulationDeltaEventArgs>(this.field_ManipulationDelta);
     
     #line default
     #line hidden
     
     #line 25 "..\..\MainWindow.xaml"
     this.lines.ManipulationInertiaStarting += new System.EventHandler<System.Windows.Input.ManipulationInertiaStartingEventArgs>(this.field_InertiaStarting);
     
     #line default
     #line hidden
     return;
     case 8:
     this.myCanvas = ((TelestrationWPF.DrawingCanvas)(target));
     return;
     case 9:
     this.playerDots = ((System.Windows.Controls.Canvas)(target));
     return;
     case 10:
     this.rightMenu = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.menuBarBG = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.trayIn = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 13:
     this.trayOut = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 14:
     this.fieldOff = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 89 "..\..\MainWindow.xaml"
     this.fieldOff.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.fieldActivate);
     
     #line default
     #line hidden
     return;
     case 15:
     this.fieldOn = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 94 "..\..\MainWindow.xaml"
     this.fieldOn.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.fieldActivate);
     
     #line default
     #line hidden
     return;
     case 16:
     this.playerOff = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 99 "..\..\MainWindow.xaml"
     this.playerOff.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.playerActivate);
     
     #line default
     #line hidden
     return;
     case 17:
     this.playerOn = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 104 "..\..\MainWindow.xaml"
     this.playerOn.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.playerActivate);
     
     #line default
     #line hidden
     return;
     case 18:
     this.myPalette = ((TelestrationWPF.DynamicPalette)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.controlPanelCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 2:
     this.toolbar = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.btnShowBench = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.btnHideBench = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.btnResetCards = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.btnShowHome = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.btnShowVisitors = ((System.Windows.Controls.Canvas)(target));
     return;
     case 8:
     this.btnRotateField = ((System.Windows.Controls.Canvas)(target));
     
     #line 41 "..\..\ControlPanel.xaml"
     this.btnRotateField.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.rotateField_buttonUp);
     
     #line default
     #line hidden
     return;
     case 9:
     this.myPalette = ((TelestrationWPF.DynamicPalette)(target));
     return;
     case 10:
     this.bench = ((System.Windows.Controls.Canvas)(target));
     
     #line 50 "..\..\ControlPanel.xaml"
     this.bench.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.bench_TouchDown);
     
     #line default
     #line hidden
     
     #line 50 "..\..\ControlPanel.xaml"
     this.bench.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.bench_TouchUp);
     
     #line default
     #line hidden
     
     #line 50 "..\..\ControlPanel.xaml"
     this.bench.ManipulationStarting += new System.EventHandler<System.Windows.Input.ManipulationStartingEventArgs>(this.bench_ManipulationStarting);
     
     #line default
     #line hidden
     
     #line 50 "..\..\ControlPanel.xaml"
     this.bench.ManipulationDelta += new System.EventHandler<System.Windows.Input.ManipulationDeltaEventArgs>(this.bench_ManipulationDelta);
     
     #line default
     #line hidden
     return;
     case 11:
     this.visitorsBench = ((System.Windows.Controls.Canvas)(target));
     
     #line 52 "..\..\ControlPanel.xaml"
     this.visitorsBench.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.bench_TouchDown);
     
     #line default
     #line hidden
     
     #line 52 "..\..\ControlPanel.xaml"
     this.visitorsBench.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.bench_TouchUp);
     
     #line default
     #line hidden
     
     #line 52 "..\..\ControlPanel.xaml"
     this.visitorsBench.ManipulationStarting += new System.EventHandler<System.Windows.Input.ManipulationStartingEventArgs>(this.bench_ManipulationStarting);
     
     #line default
     #line hidden
     
     #line 52 "..\..\ControlPanel.xaml"
     this.visitorsBench.ManipulationDelta += new System.EventHandler<System.Windows.Input.ManipulationDeltaEventArgs>(this.bench_ManipulationDelta);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnHomeTeam = ((System.Windows.Controls.Canvas)(target));
     
     #line 54 "..\..\ControlPanel.xaml"
     this.btnHomeTeam.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.btnHomeTeam_TouchDown);
     
     #line default
     #line hidden
     return;
     case 13:
     this.homeTeamViewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 14:
     this.homeTeamText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.btnAwayTeam = ((System.Windows.Controls.Canvas)(target));
     return;
     case 16:
     this.awayTeamViewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 17:
     this.awayTeamText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.oneTeamBacking = ((System.Windows.Controls.Canvas)(target));
     return;
     case 19:
     this.oneTeamViewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 20:
     this.oneTeamText = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }