Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\MainWindow.xaml"
                ((FaceTrackingBasics.MainWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.faceTrackingViewer = ((FaceTrackingBasics.FaceTrackingViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\MainWindow.xaml"
             ((FaceTrackingBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\MainWindow.xaml"
      ((FaceTrackingBasics.MainWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);
     
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.playfield = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.ColorImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.faceTrackingViewer = ((FaceTrackingBasics.FaceTrackingViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.form1 = ((FaceTrackingBasics.MainWindow)(target));

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

            #line default
            #line hidden

            #line 8 "..\..\..\MainWindow.xaml"
                this.form1.Loaded += new System.Windows.RoutedEventHandler(this.form1_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\MainWindow.xaml"
                this.form1.Closing += new System.ComponentModel.CancelEventHandler(this.form1_Closing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.viewBox1 = ((System.Windows.Controls.Viewbox)(target));
                return;

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

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

            case 6:
                this.faceTrackingViewer = ((FaceTrackingBasics.FaceTrackingViewer)(target));
                return;

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

            #line 40 "..\..\..\MainWindow.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);

            #line default
            #line hidden

            #line 40 "..\..\..\MainWindow.xaml"
                this.image1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image1_MouseEnter);

            #line default
            #line hidden

            #line 40 "..\..\..\MainWindow.xaml"
                this.image1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);

            #line default
            #line hidden
                return;

            case 8:
                this.image2 = ((System.Windows.Controls.Image)(target));

            #line 41 "..\..\..\MainWindow.xaml"
                this.image2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image2_MouseEnter);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                this.image2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image2_MouseLeave);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                this.image2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image2_MouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.image3 = ((System.Windows.Controls.Image)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.image3.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image3_MouseEnter);

            #line default
            #line hidden

            #line 42 "..\..\..\MainWindow.xaml"
                this.image3.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image3_MouseLeave);

            #line default
            #line hidden

            #line 42 "..\..\..\MainWindow.xaml"
                this.image3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image3_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.image4 = ((System.Windows.Controls.Image)(target));

            #line 43 "..\..\..\MainWindow.xaml"
                this.image4.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image4_MouseEnter);

            #line default
            #line hidden

            #line 43 "..\..\..\MainWindow.xaml"
                this.image4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image4_MouseLeave);

            #line default
            #line hidden

            #line 43 "..\..\..\MainWindow.xaml"
                this.image4.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image4_MouseDown);

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

            #line 7 "..\..\..\MainWindow.xaml"
                ((FaceTrackingBasics.MainWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);

            #line default
            #line hidden
                return;

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

            case 3:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 7:
                this.faceTrackingViewer = ((FaceTrackingBasics.FaceTrackingViewer)(target));
                return;

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

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

            #line 42 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.grid1 = ((System.Windows.Controls.Grid)(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.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 15:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.radioButton1 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((FaceTrackingBasics.MainWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 4:
     this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.ColorImage = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.faceTrackingViewer = ((FaceTrackingBasics.FaceTrackingViewer)(target));
     return;
     case 8:
     this.textBox3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.grid1 = ((System.Windows.Controls.Grid)(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.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.radioButton1 = ((System.Windows.Controls.RadioButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\MainWindow.xaml"
                ((FaceTrackingBasics.MainWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.faceTrackingViewer = ((FaceTrackingBasics.FaceTrackingViewer)(target));
                return;

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

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

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

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

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

            case 11:
                this.tiltControl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.rollControl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.yawControl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.ratioHeadShouldersYControl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.ratioChinZcontrol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.ratioShoulderZcontrol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.neckAngleControl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.roznicaShoulderCenterShoulderLFcontrol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.shoulderLeftZcontrol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.shoulderRightZcontrol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.averageShoulderLRRatioControl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:

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

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