void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockIconContainer = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.topContainer = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.topAnimation = ((ATAnimation.AGridContainer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\MainScene.xaml"
                ((LeapMotionDriverWindow.MainScene)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Grid_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.topAnimation = ((ATAnimation.AGridContainer)(target));
                return;

            case 4:
                this.speedAnimation = ((ATAnimation.AGridContainer)(target));
                return;

            case 5:
                this.soundAnimation = ((ATAnimation.AGridContainer)(target));
                return;

            case 6:
                this.gasAnimation = ((ATAnimation.AGridContainer)(target));
                return;

            case 7:
                this.videoShow = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 8:
                this.videoFullScreen = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 9:
                this.videoZoomIn = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 10:
                this.videoZoomOut = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 11:
                this.mapShow = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 12:
                this.mapFullScreen = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 13:
                this.mapZoomIn = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 14:
                this.mapZoomOut = ((LeapMotionDriverWindow.LeapMotionButton)(target));
                return;

            case 15:
                this.frontViewContainer = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.statusContainer = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.statusAnimaiton = ((ATAnimation.AGridContainer)(target));
                return;

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

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

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

            case 6:
                this.Y3 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 9:
                this.M1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.M2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.D1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.D2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.timePanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.H1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 16:
                this.m1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.m2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.s1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.s2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.route = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }