Interaction logic for KinectAudioViewer.xaml
Inheritance: Microsoft.Samples.Kinect.WpfViewers.KinectViewer
コード例 #1
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;
        }
コード例 #2
0
        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;
        }
コード例 #3
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;
     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;
 }
コード例 #4
0
 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;
 }
コード例 #5
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;
 }