WpfVideoControl
Inheritance: System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;

            case 2:
                this.viewPort = ((System.Windows.Controls.Viewport3D)(target));

            #line 8 "..\..\VideoManipulationWindow.xaml"
                this.viewPort.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewPort_MouseDown);

            #line default
            #line hidden
                return;

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

            case 4:
                this.slider = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((CCT.NUI.WPFSamples.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;

            case 8:
                this.txtInfo = ((System.Windows.Controls.TextBox)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.txtInfo.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtInfo_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.textBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;

            case 2:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((CCT.NUI.SignToCode.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.codeModeBtn = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.codeModeBtn.Click += new System.Windows.RoutedEventHandler(this.buttonCodeMode_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.exitBtn = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.exitBtn.Click += new System.Windows.RoutedEventHandler(this.buttonExit_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Sign_To_Code = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));

            #line 11 "..\..\..\DisplayControl.xaml"
                this.videoControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.videoControl_MouseMove);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
     return;
     case 2:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((CCT.NUI.WPFSamples.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.nuiLink = ((System.Windows.Documents.Hyperlink)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.nuiLink.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.nuiLink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 3:
                this.blogLink = ((System.Windows.Documents.Hyperlink)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.blogLink.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.blogLink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 4:
                this.radioOpenNI = ((System.Windows.Controls.RadioButton)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.radioOpenNI.Checked += new System.Windows.RoutedEventHandler(this.radioOpenNI_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.radioKinectSDK = ((System.Windows.Controls.RadioButton)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.radioKinectSDK.Checked += new System.Windows.RoutedEventHandler(this.radioKinectSDK_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\MainWindow.xaml"
                this.buttonManipulation.Click += new System.Windows.RoutedEventHandler(this.buttonManipulation_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\MainWindow.xaml"
                this.buttonRectangleVideo.Click += new System.Windows.RoutedEventHandler(this.buttonRectangleVideo_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.buttonHandInterface.Click += new System.Windows.RoutedEventHandler(this.buttonHandInterface_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\MainWindow.xaml"
                this.checkClusterLayer.Click += new System.Windows.RoutedEventHandler(this.checkClusterLayer_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\MainWindow.xaml"
                this.checkHandLayer.Click += new System.Windows.RoutedEventHandler(this.checkHandLayer_Click);

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 2:
     this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
     
     #line 11 "..\..\..\DisplayControl.xaml"
     this.videoControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.videoControl_MouseMove);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((CCT.NUI.WPFSamples.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.nuiLink = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.nuiLink.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.nuiLink_RequestNavigate);
     
     #line default
     #line hidden
     return;
     case 3:
     this.blogLink = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 15 "..\..\MainWindow.xaml"
     this.blogLink.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.blogLink_RequestNavigate);
     
     #line default
     #line hidden
     return;
     case 4:
     this.radioOpenNI = ((System.Windows.Controls.RadioButton)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.radioOpenNI.Checked += new System.Windows.RoutedEventHandler(this.radioOpenNI_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.radioKinectSDK = ((System.Windows.Controls.RadioButton)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.radioKinectSDK.Checked += new System.Windows.RoutedEventHandler(this.radioKinectSDK_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.buttonTouch = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\MainWindow.xaml"
     this.buttonTouch.Click += new System.Windows.RoutedEventHandler(this.buttonTouch_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.buttonManipulation = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\MainWindow.xaml"
     this.buttonManipulation.Click += new System.Windows.RoutedEventHandler(this.buttonManipulation_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.buttonRectangleVideo = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.buttonRectangleVideo.Click += new System.Windows.RoutedEventHandler(this.buttonRectangleVideo_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.buttonHandInterface = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.buttonHandInterface.Click += new System.Windows.RoutedEventHandler(this.buttonHandInterface_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.checkClusterLayer = ((System.Windows.Controls.CheckBox)(target));
     
     #line 27 "..\..\MainWindow.xaml"
     this.checkClusterLayer.Click += new System.Windows.RoutedEventHandler(this.checkClusterLayer_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.checkHandLayer = ((System.Windows.Controls.CheckBox)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.checkHandLayer.Click += new System.Windows.RoutedEventHandler(this.checkHandLayer_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 29 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
     return;
     case 2:
     this.viewPort = ((System.Windows.Controls.Viewport3D)(target));
     
     #line 8 "..\..\VideoManipulationWindow.xaml"
     this.viewPort.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewPort_MouseDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.slider = ((System.Windows.Controls.Slider)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 5 "..\..\MainWindow.xaml"
                ((CCT.NUI.MouseControl.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.buttonToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.buttonToggle.Click += new System.Windows.RoutedEventHandler(this.buttonToggle_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.comboMode = ((System.Windows.Controls.ComboBox)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.comboMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboMode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.checkTopmost = ((System.Windows.Controls.CheckBox)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.checkTopmost.Checked += new System.Windows.RoutedEventHandler(this.checkTopmost_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.buttonExit.Click += new System.Windows.RoutedEventHandler(this.buttonExit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 12
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((CCT.NUI.MouseControl.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((CCT.NUI.MouseControl.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.buttonToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 8 "..\..\..\MainWindow.xaml"
     this.buttonToggle.Click += new System.Windows.RoutedEventHandler(this.buttonToggle_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.comboMode = ((System.Windows.Controls.ComboBox)(target));
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.comboMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboMode_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.checkTopmost = ((System.Windows.Controls.CheckBox)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.checkTopmost.Checked += new System.Windows.RoutedEventHandler(this.checkTopmost_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
     return;
     case 6:
     this.buttonExit = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\MainWindow.xaml"
     this.buttonExit.Click += new System.Windows.RoutedEventHandler(this.buttonExit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((CCT.NUI.WPFSamples.KinectTouchWindow)(target));

            #line 6 "..\..\KinectTouchWindow.xaml"
                this.window.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\KinectTouchWindow.xaml"
                this.window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.checkTopmost = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.buttonStart = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\KinectTouchWindow.xaml"
                this.buttonStart.Click += new System.Windows.RoutedEventHandler(this.Start_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\KinectTouchWindow.xaml"
                this.checkClusterLayer.Click += new System.Windows.RoutedEventHandler(this.checkClusterLayer_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\KinectTouchWindow.xaml"
                this.checkHandLayer.Click += new System.Windows.RoutedEventHandler(this.checkHandLayer_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.labelHandLocation = ((System.Windows.Controls.Label)(target));
                return;

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

            case 8:

            #line 16 "..\..\KinectTouchWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 5 "..\..\CodeMode.xaml"
                ((CCT.NUI.SignToCode.CodeMode)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.videoControl = ((CCT.NUI.Visual.WpfVideoControl)(target));
                return;

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

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

            case 5:
                this.gestureTextInfo = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.cssTxtBlock = ((System.Windows.Controls.TextBox)(target));

            #line 24 "..\..\CodeMode.xaml"
                this.cssTxtBlock.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.KeyListener);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 34 "..\..\CodeMode.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.buttonSave_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 43 "..\..\CodeMode.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.buttonExit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }