DisplayControl
Inheritance: System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\MainWindow.xaml"
                ((CCT.NUI.TestDataCollector.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.toolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 4:
                this.buttonLoadTestFrame = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.buttonSaveTestFrame = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.buttonRemoveFrame = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.buttonStartDepthSource = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.buttonStartDepthSource.Click += new System.Windows.RoutedEventHandler(this.buttonStartDepthSource_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.buttonCapture = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.buttonCaptureDelayed = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.checkClusterLayer = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.checkHandLayer = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.propertyGridClusteringHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 13:
                this.propertyGridShapeHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 14:
                this.propertyGridHandHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 15:
                this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 16:
                this.displayControl = ((CCT.NUI.TestDataCollector.DisplayControl)(target));
                return;

            case 17:
                this.panelHands = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.buttonAddHand = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.labelMode = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.labelMouseLocation = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.displayControlEdit = ((CCT.NUI.TestDataCollector.DisplayControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\MainWindow.xaml"
     ((CCT.NUI.TestDataCollector.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 3:
     this.toolBar = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 4:
     this.buttonLoadTestFrame = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.buttonSaveTestFrame = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.buttonRemoveFrame = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.buttonStartDepthSource = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.buttonStartDepthSource.Click += new System.Windows.RoutedEventHandler(this.buttonStartDepthSource_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.buttonCapture = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.buttonCaptureDelayed = ((System.Windows.Controls.Button)(target));
     return;
     case 10:
     this.checkClusterLayer = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 11:
     this.checkHandLayer = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 12:
     this.propertyGridClusteringHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 13:
     this.propertyGridShapeHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 14:
     this.propertyGridHandHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 15:
     this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
     return;
     case 16:
     this.displayControl = ((CCT.NUI.TestDataCollector.DisplayControl)(target));
     return;
     case 17:
     this.panelHands = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 18:
     this.buttonAddHand = ((System.Windows.Controls.Button)(target));
     return;
     case 19:
     this.labelMode = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.labelMouseLocation = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.displayControlEdit = ((CCT.NUI.TestDataCollector.DisplayControl)(target));
     return;
     }
     this._contentLoaded = true;
 }