CCT.NUI.WPFSamples.KinectTouchWindow.System C# (CSharp) Method

System() private method

private System ( int connectionId, object target ) : void
connectionId int
target object
return void
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.window = ((CCT.NUI.WPFSamples.KinectTouchWindow)(target));
            
            #line 6 "..\..\KinectTouchWindow.xaml"
            this.window.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
            
            #line default
            #line hidden
            
            #line 6 "..\..\KinectTouchWindow.xaml"
            this.window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
            
            #line default
            #line hidden
            return;
            case 2:
            this.checkTopmost = ((System.Windows.Controls.CheckBox)(target));
            return;
            case 3:
            this.buttonStart = ((System.Windows.Controls.Button)(target));
            
            #line 11 "..\..\KinectTouchWindow.xaml"
            this.buttonStart.Click += new System.Windows.RoutedEventHandler(this.Start_Click);
            
            #line default
            #line hidden
            return;
            case 4:
            this.checkClusterLayer = ((System.Windows.Controls.CheckBox)(target));
            
            #line 12 "..\..\KinectTouchWindow.xaml"
            this.checkClusterLayer.Click += new System.Windows.RoutedEventHandler(this.checkClusterLayer_Click);
            
            #line default
            #line hidden
            return;
            case 5:
            this.checkHandLayer = ((System.Windows.Controls.CheckBox)(target));
            
            #line 13 "..\..\KinectTouchWindow.xaml"
            this.checkHandLayer.Click += new System.Windows.RoutedEventHandler(this.checkHandLayer_Click);
            
            #line default
            #line hidden
            return;
            case 6:
            this.labelHandLocation = ((System.Windows.Controls.Label)(target));
            return;
            case 7:
            this.labelFingerCount = ((System.Windows.Controls.Label)(target));
            return;
            case 8:
            
            #line 16 "..\..\KinectTouchWindow.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
            
            #line default
            #line hidden
            return;
            case 9:
            this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }