void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.imgColor = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.canvasColor = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.imgPS3Eye = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.canvasPS3Eye = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.imgDepth = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.canvasDepth = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.multiGraphAcc = ((WiTKoM.Common.MultiGraph)(target));
                return;

            case 9:
                this.lAccGloveValues = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lTimes = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lRunning = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lInfo = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lNthFrame = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lBodies = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lQueues = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lMemory = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lCounters = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.ps3EyePanel = ((MultiSourceAcqMain.PS3Eye.PS3EyePanel)(target));
                return;

            case 19:
                this.accGlovePanel = ((MultiSourceAcqMain.AccGlove.AccGlovePanel)(target));
                return;

            case 20:
                this.cboDevices = ((System.Windows.Controls.ComboBox)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.cboDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboDevices_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.lColorMapping = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.chkColorMapping = ((System.Windows.Controls.CheckBox)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.chkColorMapping.Checked += new System.Windows.RoutedEventHandler(this.chkColorMapping_Checked);

            #line default
            #line hidden

            #line 57 "..\..\MainWindow.xaml"
                this.chkColorMapping.Unchecked += new System.Windows.RoutedEventHandler(this.chkColorMapping_Checked);

            #line default
            #line hidden
                return;

            case 23:
                this.bStartStopDevices = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.bStartStopDevices.Click += new System.Windows.RoutedEventHandler(this.bStartStopDevices_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.bStartStopGlove = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.bStartStopGlove.Click += new System.Windows.RoutedEventHandler(this.bStartStopGlove_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.elDevicesRunning = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 26:
                this.elGloveRunning = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 27:
                this.bRecord = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.bRecord.Click += new System.Windows.RoutedEventHandler(this.bRecord_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.elRecording = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 29:
                this.bClearCount = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.bClearCount.Click += new System.Windows.RoutedEventHandler(this.bClearCount_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.lCount = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.recorderPanel = ((MultiSourceAcqMain.RecorderPanel)(target));
                return;

            case 32:
                this.bSaveSettings = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.bSaveSettings.Click += new System.Windows.RoutedEventHandler(this.bSaveSettings_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.l8bitDepth = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.bRemoveLast = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.bRemoveLast.Click += new System.Windows.RoutedEventHandler(this.bRemoveLast_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.lbQuickConcept = ((System.Windows.Controls.ListBox)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.lbQuickConcept.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbQuickConcept_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.cboQuickConcept = ((System.Windows.Controls.ComboBox)(target));

            #line 82 "..\..\MainWindow.xaml"
                this.cboQuickConcept.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboQuickConcept_SelectionChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.labelQuickAndPerf = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.lDepthMapping = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.chkDepthMapping = ((System.Windows.Controls.CheckBox)(target));

            #line 85 "..\..\MainWindow.xaml"
                this.chkDepthMapping.Checked += new System.Windows.RoutedEventHandler(this.chkDepthMapping_Checked);

            #line default
            #line hidden

            #line 85 "..\..\MainWindow.xaml"
                this.chkDepthMapping.Unchecked += new System.Windows.RoutedEventHandler(this.chkDepthMapping_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.imgColor = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.canvasColor = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.imgPS3Eye = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.canvasPS3Eye = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.imgDepth = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.canvasDepth = ((System.Windows.Controls.Canvas)(target));
     return;
     case 8:
     this.multiGraphAcc = ((WiTKoM.Common.MultiGraph)(target));
     return;
     case 9:
     this.lAccGloveValues = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lTimes = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lRunning = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.lInfo = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lNthFrame = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.lBodies = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.lQueues = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.lMemory = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.lCounters = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.ps3EyePanel = ((MultiSourceAcqMain.PS3Eye.PS3EyePanel)(target));
     return;
     case 19:
     this.accGlovePanel = ((MultiSourceAcqMain.AccGlove.AccGlovePanel)(target));
     return;
     case 20:
     this.cboDevices = ((System.Windows.Controls.ComboBox)(target));
     
     #line 55 "..\..\MainWindow.xaml"
     this.cboDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboDevices_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.lColorMapping = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.chkColorMapping = ((System.Windows.Controls.CheckBox)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.chkColorMapping.Checked += new System.Windows.RoutedEventHandler(this.chkColorMapping_Checked);
     
     #line default
     #line hidden
     
     #line 57 "..\..\MainWindow.xaml"
     this.chkColorMapping.Unchecked += new System.Windows.RoutedEventHandler(this.chkColorMapping_Checked);
     
     #line default
     #line hidden
     return;
     case 23:
     this.bStartStopDevices = ((System.Windows.Controls.Button)(target));
     
     #line 58 "..\..\MainWindow.xaml"
     this.bStartStopDevices.Click += new System.Windows.RoutedEventHandler(this.bStartStopDevices_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.bStartStopGlove = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\MainWindow.xaml"
     this.bStartStopGlove.Click += new System.Windows.RoutedEventHandler(this.bStartStopGlove_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.elDevicesRunning = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 26:
     this.elGloveRunning = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 27:
     this.bRecord = ((System.Windows.Controls.Button)(target));
     
     #line 65 "..\..\MainWindow.xaml"
     this.bRecord.Click += new System.Windows.RoutedEventHandler(this.bRecord_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.elRecording = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 29:
     this.bClearCount = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\MainWindow.xaml"
     this.bClearCount.Click += new System.Windows.RoutedEventHandler(this.bClearCount_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.lCount = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.recorderPanel = ((MultiSourceAcqMain.RecorderPanel)(target));
     return;
     case 32:
     this.bSaveSettings = ((System.Windows.Controls.Button)(target));
     
     #line 78 "..\..\MainWindow.xaml"
     this.bSaveSettings.Click += new System.Windows.RoutedEventHandler(this.bSaveSettings_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.l8bitDepth = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.bRemoveLast = ((System.Windows.Controls.Button)(target));
     
     #line 80 "..\..\MainWindow.xaml"
     this.bRemoveLast.Click += new System.Windows.RoutedEventHandler(this.bRemoveLast_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.lbQuickConcept = ((System.Windows.Controls.ListBox)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.lbQuickConcept.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbQuickConcept_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 36:
     this.cboQuickConcept = ((System.Windows.Controls.ComboBox)(target));
     
     #line 82 "..\..\MainWindow.xaml"
     this.cboQuickConcept.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboQuickConcept_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 37:
     this.labelQuickAndPerf = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.lDepthMapping = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.chkDepthMapping = ((System.Windows.Controls.CheckBox)(target));
     
     #line 85 "..\..\MainWindow.xaml"
     this.chkDepthMapping.Checked += new System.Windows.RoutedEventHandler(this.chkDepthMapping_Checked);
     
     #line default
     #line hidden
     
     #line 85 "..\..\MainWindow.xaml"
     this.chkDepthMapping.Unchecked += new System.Windows.RoutedEventHandler(this.chkDepthMapping_Checked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }