void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Jeu = ((BodyMove.MainWindow)(target));
                return;

            case 2:
                this.musique = ((System.Windows.Controls.MediaElement)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.musique.MediaEnded += new System.Windows.RoutedEventHandler(this.musique_MediaEnded);

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.menuPause = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 9:
                this.CanvasCameraVignette = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.ChronoLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Jeu = ((BodyMove.MainWindow)(target));
                return;

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

            case 3:
                this.MonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }