Interaction logic for KinectColorViewer.xaml
Inheritance: Microsoft.Samples.Kinect.WpfViewers.ImageViewer
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\MainWindow.xaml"
                ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\MainWindow.xaml"
                ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 7:
                this.headImage = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.headImage2 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\KinectWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Swap_Executed);

            #line default
            #line hidden
                return;

            case 2:
                this.layoutGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainViewerHost = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.ColorVis = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.ColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 6:
                this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target));
                return;

            case 7:
                this.SideViewerHost = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.DepthVis = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Settings = ((System.Windows.Controls.Expander)(target));
                return;

            case 3:
                this.status = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.colorPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.colorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 6:
                this.KinectSkeletonViewerOnColor = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
                return;

            case 7:
                this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target));
                return;

            case 8:
                this.depthPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.KinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

            case 10:
                this.KinectSkeletonViewerOnDepth = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((ShapeGame.MainWindow)(target));

            #line 6 "..\..\MainWindow.xaml"
                this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                this.mainWindow.Closed += new System.EventHandler(this.WindowClosed);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.playfield = ((System.Windows.Controls.Canvas)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.playfield.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PlayfieldSizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.kinectViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\RecordWindow.xaml"
                ((KinectFitness.RecordWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 5:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
                return;

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

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

            #line 14 "..\..\..\RecordWindow.xaml"
                this.recordOption.Click += new System.Windows.RoutedEventHandler(this.recordOption_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 2:
                this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\MainWindow.xaml"
                ((KinectSetupDev.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\..\MainWindow.xaml"
                ((KinectSetupDev.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 3:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.image1.ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed);

            #line default
            #line hidden
                return;

            case 4:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 2:
                this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

            case 3:
                this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.frameRate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.kinectIndex = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.kinectName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.kinectStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\MainWindow.xaml"
                ((kinectapp.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\..\MainWindow.xaml"
                ((kinectapp.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.kinectSensorChooserUI1 = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

            case 5:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((ChangeFace.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                ((ChangeFace.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.kinectSensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

            case 5:
                this.leftEclipe = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.rightEclipe = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.headImage = ((System.Windows.Controls.Image)(target));
                return;

            case 8:

            #line 21 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Start);

            #line default
            #line hidden
                return;

            case 9:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Down);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 2:
     this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
     return;
     case 3:
     this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.frameRate = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.kinectIndex = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.kinectName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.kinectStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#12
0
文件: face.g.cs 项目: yolandax/799
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\face.xaml"
     ((SkeletalTracking.FaceWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\face.xaml"
     ((SkeletalTracking.FaceWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.xn1 = ((apk.HomePage)(target));
     
     #line 4 "..\..\..\HomePage.xaml"
     this.xn1.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cHomePage = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.beginButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\HomePage.xaml"
     this.beginButton.Click += new System.Windows.RoutedEventHandler(this.beginClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.reviewButton = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\HomePage.xaml"
     this.reviewButton.Click += new System.Windows.RoutedEventHandler(this.reviewClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.settingsButton = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\HomePage.xaml"
     this.settingsButton.Click += new System.Windows.RoutedEventHandler(this.settingsClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.closeButton = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\HomePage.xaml"
     this.closeButton.Click += new System.Windows.RoutedEventHandler(this.closeClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Settings = ((System.Windows.Controls.Expander)(target));
     return;
     case 3:
     this.status = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.colorPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.colorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.KinectSkeletonViewerOnColor = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 7:
     this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target));
     return;
     case 8:
     this.depthPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.KinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
     return;
     case 10:
     this.KinectSkeletonViewerOnDepth = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#15
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\KinectChooser.xaml"
     ((Balloon.KinectChooser)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\KinectChooser.xaml"
     ((Balloon.KinectChooser)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectColourViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 3:
     this.kinectSkeletonViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#16
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\SettingsPage.xaml"
     ((apk.SettingsPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cSettings = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.motionRange = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\SettingsPage.xaml"
     this.motionRange.Click += new System.Windows.RoutedEventHandler(this.motionRangeClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.tabooGestures = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\SettingsPage.xaml"
     this.tabooGestures.Click += new System.Windows.RoutedEventHandler(this.tabooGesturesClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tabooWords = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\SettingsPage.xaml"
     this.tabooWords.Click += new System.Windows.RoutedEventHandler(this.tabooWordsClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.home = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\SettingsPage.xaml"
     this.home.Click += new System.Windows.RoutedEventHandler(this.goHomeClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.cursor = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.nothing = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\SettingsPage.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.volumeClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\SettingsPage.xaml"
     ((apk.SettingsPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cSettings = ((System.Windows.Controls.Canvas)(target));
     
     #line 39 "..\..\..\SettingsPage.xaml"
     this.cSettings.KeyDown += new System.Windows.Input.KeyEventHandler(this.proceed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.rangeButton = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\SettingsPage.xaml"
     this.rangeButton.Click += new System.Windows.RoutedEventHandler(this.rangeClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.gesturesButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\SettingsPage.xaml"
     this.gesturesButton.Click += new System.Windows.RoutedEventHandler(this.gesturesClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.wordsButton = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\SettingsPage.xaml"
     this.wordsButton.Click += new System.Windows.RoutedEventHandler(this.wordsClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.homeButton = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\SettingsPage.xaml"
     this.homeButton.Click += new System.Windows.RoutedEventHandler(this.homeClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.volumeButton = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\SettingsPage.xaml"
     this.volumeButton.Click += new System.Windows.RoutedEventHandler(this.volumeClick);
     
     #line default
     #line hidden
     return;
     case 10:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.savedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.volumePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 13:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.rightRangePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 16:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.rightProgress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 20:
     this.leftRangePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 21:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.leftProgress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 25:
     this.panelBorder = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#18
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectTest.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectTest.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 5:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 7:
     this.headEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 8:
     this.menu3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.menu2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 10:
     this.menu1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 11:
     this.click = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 12:
     this.clickTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.roll = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 14:
     this.rollTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.labelBackground = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 16:
     this.clickLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.kinectColorViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectColorViewer1_Loaded);
     
     #line default
     #line hidden
     return;
     case 5:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 6:
     this.midImage = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.headImage = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.rightImage = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.leftImage = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.tiger = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.health = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 12:
     this.lblHealth = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.score = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#20
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\PresentationPage.xaml"
     ((apk.PresentationPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cPresentation = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.endLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.startPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.startLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.startTime = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.infoPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.timeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.postureLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.motionLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.gestureLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.gestureDetail = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.wordLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.wordDetail = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.volumeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.kinectAudioViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target));
     return;
     case 19:
     this.endPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 20:
     this.endingLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.endProgress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((game.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.keyIsDown);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((game.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.keyIsUp);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((game.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((game.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.dino = ((System.Windows.Controls.Image)(target));
                return;

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

            case 5:
                this.obstacle1 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 7:
                this.scoreText = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.btnplay.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 14:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 15:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 16:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 17:
                this.currPos = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#22
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((kinectapp.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((kinectapp.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.kinectSensorChooserUI1 = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 5:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#23
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((cs169_Pomagranit.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((cs169_Pomagranit.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.PoseSelectCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.poseSkeletonViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.helpButton = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.poseVideoPlayer = ((System.Windows.Controls.MediaElement)(target));
     
     #line 24 "..\..\..\MainWindow.xaml"
     this.poseVideoPlayer.MediaEnded += new System.Windows.RoutedEventHandler(this.poseVideoPlayer_MediaEnded);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ms_poseNameText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.poseSlot1 = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.poseSlot2 = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.poseSlot3 = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.poseSlot4 = ((System.Windows.Controls.Image)(target));
     return;
     case 13:
     this.poseSlot5 = ((System.Windows.Controls.Image)(target));
     return;
     case 14:
     this.poseSlot6 = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.poseSlot7 = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.poseSelectButton = ((System.Windows.Controls.Button)(target));
     return;
     case 17:
     this.playlistButton = ((System.Windows.Controls.Button)(target));
     return;
     case 18:
     this.poseVideoTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.moveSlot1Border = ((System.Windows.Controls.Border)(target));
     return;
     case 20:
     this.moveSlot2Border = ((System.Windows.Controls.Border)(target));
     return;
     case 21:
     this.moveSlot3Border = ((System.Windows.Controls.Border)(target));
     return;
     case 22:
     this.focusedPoseBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 23:
     this.moveSlot5Border = ((System.Windows.Controls.Border)(target));
     return;
     case 24:
     this.moveSlot6Border = ((System.Windows.Controls.Border)(target));
     return;
     case 25:
     this.moveSlot7Border = ((System.Windows.Controls.Border)(target));
     return;
     case 26:
     this.noticeBox = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.handEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 28:
     this.kinectSkeletonViewer2 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 29:
     this.PL_pose1 = ((System.Windows.Controls.Image)(target));
     return;
     case 30:
     this.PL_pose2 = ((System.Windows.Controls.Image)(target));
     return;
     case 31:
     this.PL_firstPose = ((System.Windows.Controls.Image)(target));
     return;
     case 32:
     this.PL_secondPose = ((System.Windows.Controls.Image)(target));
     return;
     case 33:
     this.PL_thirdPose = ((System.Windows.Controls.Image)(target));
     return;
     case 34:
     this.PL_fourthPose = ((System.Windows.Controls.Image)(target));
     return;
     case 35:
     this.PL_fifthPose = ((System.Windows.Controls.Image)(target));
     return;
     case 36:
     this.PL_sixthPose = ((System.Windows.Controls.Image)(target));
     return;
     case 37:
     this.PL_pose3 = ((System.Windows.Controls.Image)(target));
     return;
     case 38:
     this.PL_pose4 = ((System.Windows.Controls.Image)(target));
     return;
     case 39:
     this.plDoneButton = ((System.Windows.Controls.Button)(target));
     return;
     case 40:
     this.focusedElementBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 41:
     this.helpDisplayBox = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 42:
     this.playlistTextblock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 43:
     this.playlistTextblock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 44:
     this.logo = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#24
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((IPA2.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((IPA2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 5:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     
     #line 9 "..\..\..\MainWindow.xaml"
     this.kinectSkeletonViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectSkeletonViewer1_Loaded);
     
     #line default
     #line hidden
     return;
     case 6:
     this.kinectColorViewer2 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 7:
     this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
     return;
     case 8:
     this.FirstContent = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.FirstLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#25
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Test.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.kinectColorViewer2 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 7:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.tbSpeechStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.imageCover = ((System.Windows.Controls.Image)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.imageCover.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.imageCover_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 10:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 2:
     this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.leftKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rightKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.leftAnkleEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.rightAnkleEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.shoulderCenterEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 10:
                this.tbSpeechStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 17 "..\..\MainWindow.xaml"
                this.enableAec.Checked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.enableAec.Unchecked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden
                return;

            case 12:
                this.headImage = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.inSquatDisplay = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 16 "..\..\KinectWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Swap_Executed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainViewerHost = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.ColorVis = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.ColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.kinectAudioViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectAudioViewer)(target));
     return;
     case 7:
     this.SideViewerHost = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.DepthVis = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
     return;
     case 10:
     
     #line 155 "..\..\KinectWindow.xaml"
     ((Microsoft.Samples.Kinect.WpfViewers.KinectSettings)(target)).Loaded += new System.Windows.RoutedEventHandler(this.KinectSettings_Loaded);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 2:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.rotTx = ((System.Windows.Media.RotateTransform)(target));
                return;

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

            case 5:
                this.bdConf = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.tbConf = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.clipConf = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 8:
                this.tbColor = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.tbSpeechStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.enableAec.Checked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden

            #line 32 "..\..\MainWindow.xaml"
                this.enableAec.Unchecked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden
                return;

            case 11:
                this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Project_v1._1.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Project_v1._1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 5:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 7:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 8:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 11:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblCurrentAngle = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.statusBar2 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 16:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.stop_button = ((System.Windows.Controls.Button)(target));
     return;
     case 19:
     this.start_button = ((System.Windows.Controls.Button)(target));
     return;
     case 20:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.image3 = ((System.Windows.Controls.Image)(target));
     return;
     case 23:
     this.image4 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#32
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 2:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.rotTx = ((System.Windows.Media.RotateTransform)(target));
     return;
     case 4:
     this.imgWav = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.bdConf = ((System.Windows.Controls.Border)(target));
     return;
     case 6:
     this.tbConf = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.clipConf = ((System.Windows.Media.RectangleGeometry)(target));
     return;
     case 8:
     this.tbColor = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.tbSpeechStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.enableAec = ((System.Windows.Controls.CheckBox)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.enableAec.Checked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);
     
     #line default
     #line hidden
     
     #line 32 "..\..\MainWindow.xaml"
     this.enableAec.Unchecked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#33
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectProject.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectProject.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.FlashGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 2:
                this.kinectDepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

            case 3:
                this.skeletonPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.text1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 37 "..\..\KinectDiagnosticViewer.xaml"
                this.b1.Click += new System.Windows.RoutedEventHandler(this.Onb2Click);

            #line default
            #line hidden
                return;

            case 7:
                this.text2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.Position = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.bodyPositionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.bodyMotionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.leftHandPositionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.leftHandMotionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.rightHandPositionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.rightHandMotionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.leftLegPositionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.leftLegMotionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.rightLegPositionText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.rightLegMotionText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#35
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\ReviewPage.xaml"
     ((apk.ReviewPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cursor = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.title = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.detailsPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.rightPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.leftPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.returnButton = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.saveButton = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.presentButton = ((System.Windows.Controls.Button)(target));
     return;
     case 14:
     this.timePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 15:
     this.timeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.time = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 18:
     this.savedLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#36
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\ResultPage.xaml"
     ((apk.ResultPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cResult = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.title = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.detailsPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.rightPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.motionRangeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.volumeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.gesturesLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.wordsLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.leftPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.postureCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.rangeCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.volumeCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.gesturesCount = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.wordsCount = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.returnButton = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\..\ResultPage.xaml"
     this.returnButton.Click += new System.Windows.RoutedEventHandler(this.returnClick);
     
     #line default
     #line hidden
     return;
     case 20:
     this.saveButton = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\..\ResultPage.xaml"
     this.saveButton.Click += new System.Windows.RoutedEventHandler(this.saveClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.presentButton = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\..\ResultPage.xaml"
     this.presentButton.Click += new System.Windows.RoutedEventHandler(this.presentClick);
     
     #line default
     #line hidden
     return;
     case 22:
     this.timePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 23:
     this.timeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.time = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.savedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.gesturesListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 27:
     this.wordsListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 28:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#37
0
        public MainWindow()
        {
            InitializeComponent();

            //test
            ctrOne = new StepOneControl(this);
            ctrTwo = new StepTwoControl(this) { Visibility = Visibility.Collapsed };
            ctrThree = new StepThreeControl(this) { Visibility = Visibility.Collapsed };
            ctrFour = new StepFourControl(this) { Visibility = Visibility.Collapsed };
            ctrFive = new StepFiveControl(this) { Visibility = Visibility.Collapsed };
            media.MediaEnded += (s, e) =>
            {
                media.Source = new Uri(Appconfig.MP3);
                media.Play();
            };
            this.Loaded += (s, e) =>
            {
                _logger.Debug("................启动......................");
                media.Source = new Uri(Appconfig.MP3);
                media.Play();
            };

            gestureControl.OnKinectGestureDetected += gestureControl_OnKinectGestureDetected;

            ctrOne.SceneOver += OnSceneOver;
            ctrTwo.SceneOver += OnSceneOver;
            ctrThree.SceneOver += OnSceneOver;
            ctrFour.SceneOver += OnSceneOver;
            ctrFive.SceneOver += OnSceneOver;
            ctrOne.LayoutTransform = ctrTwo.LayoutTransform = ctrThree.LayoutTransform = ctrFour.LayoutTransform = ctrFive.LayoutTransform = this.LayoutTransform =
                new ScaleTransform(SystemParameters.PrimaryScreenWidth / 1920.0d, SystemParameters.PrimaryScreenHeight / 1080d);
            layoutGrid.Children.Add(ctrOne);
            layoutGrid.Children.Add(ctrTwo);
            layoutGrid.Children.Add(ctrThree);
            layoutGrid.Children.Add(ctrFour);
            layoutGrid.Children.Add(ctrFive);

            controls.Add(ctrOne);
            controls.Add(ctrTwo);
            controls.Add(ctrThree);
            controls.Add(ctrFour);
            controls.Add(ctrFive);

            _currentControl = ctrOne;

            //显示kinect可视窗口
            string[] kv = ConfigurationManager.AppSettings["SkeletonInfo"].Split(',');
            double kWidth = Convert.ToDouble(kv[0]);
            double kHeight = Convert.ToDouble(kv[1]);
            double kLeft = Convert.ToDouble(kv[2]);
            double kTop = Convert.ToDouble(kv[3]);
            double kAlpha = Convert.ToDouble(kv[4]);

            KinectColorViewer kc2 = new KinectColorViewer();
            kc2.Opacity = kAlpha;
            kc2.Width = kWidth;
            kc2.Height = kHeight;
            Canvas.SetLeft(kc2, kLeft);
            Canvas.SetTop(kc2, kTop);
            kc2.KinectSensorManager = gestureControl.KinectSensorManager;
            this.root.Children.Add(kc2);

            KinectSkeletonViewer ks = new KinectSkeletonViewer();
            ks.Opacity = kAlpha;
            ks.Width = kWidth;
            ks.Height = kHeight;
            Canvas.SetLeft(ks, kLeft);
            Canvas.SetTop(ks, kTop);
            ks.KinectSensorManager = gestureControl.KinectSensorManager;
            this.root.Children.Add(ks);
        }
示例#38
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\TabooGestures.xaml"
     ((apk.TabooGestures)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 3:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 4:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.button2 = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.button3 = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.gestureListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.NotificationCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 10:
     this.GestureNameNotification = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.GestureNameInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.button4 = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\..\TabooGestures.xaml"
     this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#39
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((ShapeGame.MainWindow)(target));
     
     #line 6 "..\..\MainWindow.xaml"
     this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\MainWindow.xaml"
     this.mainWindow.Closed += new System.EventHandler(this.WindowClosed);
     
     #line default
     #line hidden
     
     #line 6 "..\..\MainWindow.xaml"
     this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.playfield = ((System.Windows.Controls.Canvas)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.playfield.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PlayfieldSizeChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.kinectViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#40
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 5:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 7:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.warningLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.chestEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.headWarning = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 12:
     this.bodyWarning = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 13:
     this.ellipse1 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#41
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((KinectIPD.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((KinectIPD.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.btnMove = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.btnMove.Click += new System.Windows.RoutedEventHandler(this.btnMove_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 6:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 8:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     
     #line 18 "..\..\..\MainWindow.xaml"
     this.textBlock2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.textBlock2_MouseDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((Kinect_D2_v1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((Kinect_D2_v1.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.layoutGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.SensorChooserUI = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

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

            #line 74 "..\..\MainWindow.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 6:
                this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.MainViewerHost = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.ColorVis = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.ColorViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 10:
                this.waitScreen = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            case 12:
                this.startStop = ((System.Windows.Controls.Button)(target));

            #line 129 "..\..\MainWindow.xaml"
                this.startStop.Click += new System.Windows.RoutedEventHandler(this.Button_Start_Stop);

            #line default
            #line hidden
                return;

            case 13:
                this.imgStartStop = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.lstTags = ((System.Windows.Controls.ListBox)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.lstTags.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstTags_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.lstTagLog = ((System.Windows.Controls.ListBox)(target));
                return;

            case 16:
                this.btnTag = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.btnTag.Click += new System.Windows.RoutedEventHandler(this.btnTag_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnRemoveTag = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\MainWindow.xaml"
                this.btnRemoveTag.Click += new System.Windows.RoutedEventHandler(this.btnRemoveTag_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.recordVideoBool = ((System.Windows.Controls.CheckBox)(target));

            #line 136 "..\..\MainWindow.xaml"
                this.recordVideoBool.Checked += new System.Windows.RoutedEventHandler(this.recordVideoBool_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.checkBoxSeatedMode = ((System.Windows.Controls.CheckBox)(target));

            #line 137 "..\..\MainWindow.xaml"
                this.checkBoxSeatedMode.Checked += new System.Windows.RoutedEventHandler(this.checkBoxSeatedMode_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\MainWindow.xaml"
     ((YMCA_Detector.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     ((YMCA_Detector.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.kinectColorViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectColorViewer1_Loaded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.smileyHead = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 8:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 9:
     this.elbowleftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.elbowrightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.sholderleftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 12:
     this.sholderrightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 13:
     this.debugg = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#44
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectSetupDev.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectSetupDev.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.image1.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#45
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\LocalRepository.xaml"
     ((WpfApplication1.LocalRepository)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 15 "..\..\..\LocalRepository.xaml"
     this.image1.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.image3 = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.image4 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.image5 = ((System.Windows.Controls.Image)(target));
     
     #line 19 "..\..\..\LocalRepository.xaml"
     this.image5.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image5_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 7:
     this.image6 = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.Files = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.Status = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.StatusText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 12:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 13:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 14:
     this.inkCanvas = ((System.Windows.Controls.InkCanvas)(target));
     
     #line 31 "..\..\..\LocalRepository.xaml"
     this.inkCanvas.Gesture += new System.Windows.Controls.InkCanvasGestureEventHandler(this.inkCanvas_Gesture_1);
     
     #line default
     #line hidden
     return;
     case 15:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 16:
     this.imageTrial = ((System.Windows.Controls.Image)(target));
     
     #line 33 "..\..\..\LocalRepository.xaml"
     this.imageTrial.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image7_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 17:
     this.image7 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.kinectColorViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectColorViewer1_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.rightKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.leftKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.headImage = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.hipEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 10:
                this.rightFootEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 11:
                this.leftFootEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 12:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.kinectSensorChooser1.Loaded += new System.Windows.RoutedEventHandler(this.kinectSensorChooser1_Loaded);

            #line default
            #line hidden
                return;

            case 13:
                this.tbTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.motivation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.percent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.leftArmButtonClick);

            #line default
            #line hidden
                return;

            case 17:

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rightArmButtonClick);

            #line default
            #line hidden
                return;

            case 18:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.leftLegButtonClick);

            #line default
            #line hidden
                return;

            case 19:

            #line 26 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rightLegButtonClick);

            #line default
            #line hidden
                return;

            case 20:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.seatedRightArmButtonClick);

            #line default
            #line hidden
                return;

            case 21:

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.seatedLeftArmButtonClick);

            #line default
            #line hidden
                return;

            case 22:
                this.Instructional_Video_Player = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }