public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MapPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            commandBar = (global::Windows.UI.Xaml.Controls.CommandBar)this.FindName("commandBar");
            dir_bnt = (global::Windows.UI.Xaml.Controls.AppBarButton)this.FindName("dir_bnt");
            myMenuFlyout = (global::Windows.UI.Xaml.Controls.MenuFlyout)this.FindName("myMenuFlyout");
            goBizBnt = (global::Windows.UI.Xaml.Controls.AppBarButton)this.FindName("goBizBnt");
            myStoryboardX = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("myStoryboardX");
            myStoryboardY = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("myStoryboardY");
            gridHandleStroyBoardX = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("gridHandleStroyBoardX");
            gridHandleStroyBoardY = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("gridHandleStroyBoardY");
            gridHandelY = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)this.FindName("gridHandelY");
            gridHandelX = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)this.FindName("gridHandelX");
            wavemoveY = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)this.FindName("wavemoveY");
            wavemoveX = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)this.FindName("wavemoveX");
            mapgrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("mapgrid");
            mapcontrol = (global::Windows.UI.Xaml.Controls.Maps.MapControl)this.FindName("mapcontrol");
            wavepoint = (global::Windows.UI.Xaml.Shapes.Ellipse)this.FindName("wavepoint");
            sss = (global::Windows.UI.Xaml.Media.TranslateTransform)this.FindName("sss");
            infoPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("infoPanel");
            infoPanel_Side = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("infoPanel_Side");
            gridHandle = (global::Windows.UI.Xaml.Media.TranslateTransform)this.FindName("gridHandle");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Game.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::MultipleChoice.Common.LayoutAwarePage) this.FindName("pageRoot");
            ClearStory            = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("ClearStory");
            BeginStory            = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("BeginStory");
            RevealStory           = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("RevealStory");
            DecideStory           = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("DecideStory");
            BounceTheGrass        = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("BounceTheGrass");
            AnimateSun            = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation) this.FindName("AnimateSun");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled             = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped            = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
            SnapView           = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("SnapView");
            FillView           = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("FillView");
            MyAdControl        = (global::Microsoft.Advertising.WinRT.UI.AdControl) this.FindName("MyAdControl");
            Sun              = (global::Windows.UI.Xaml.Shapes.Ellipse) this.FindName("Sun");
            Animal           = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Animal");
            Answer           = (global::Windows.UI.Xaml.Controls.Border) this.FindName("Answer");
            Grass            = (global::Windows.UI.Xaml.Shapes.Path) this.FindName("Grass");
            Choices          = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("Choices");
            MyPurchaseButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("MyPurchaseButton");
            AnswerText       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("AnswerText");
        }
Esempio n. 3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///ClockControl.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            control            = (global::Windows.UI.Xaml.Controls.UserControl) this.FindName("control");
            sClockAnimation    = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("sClockAnimation");
            daSecondsAnimation = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation) this.FindName("daSecondsAnimation");
            rtHours            = (global::Windows.UI.Xaml.Media.RotateTransform) this.FindName("rtHours");
            rtMinutes          = (global::Windows.UI.Xaml.Media.RotateTransform) this.FindName("rtMinutes");
            rtSeconds          = (global::Windows.UI.Xaml.Media.RotateTransform) this.FindName("rtSeconds");
        }
Esempio n. 4
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            PageRoot = (global::SpeedyButtonGame.Common.LayoutAwarePage)this.FindName("PageRoot");
            GamePanel = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("GamePanel");
            UpperContentPanel = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("UpperContentPanel");
            LowerContentPanel = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LowerContentPanel");
            YellowLightCircle = (global::Windows.UI.Xaml.Shapes.Ellipse)this.FindName("YellowLightCircle");
            RedLightCircle = (global::Windows.UI.Xaml.Shapes.Ellipse)this.FindName("RedLightCircle");
            GoldLightCircle = (global::Windows.UI.Xaml.Shapes.Ellipse)this.FindName("GoldLightCircle");
            GreenLightCircle = (global::Windows.UI.Xaml.Shapes.Ellipse)this.FindName("GreenLightCircle");
            BtnReset = (global::Windows.UI.Xaml.Controls.Button)this.FindName("BtnReset");
            BtnHelp = (global::Windows.UI.Xaml.Controls.Button)this.FindName("BtnHelp");
            textAnimationStart = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("textAnimationStart");
            textAnimationEnd = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("textAnimationEnd");
            DoubleAnimationRotation2 = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)this.FindName("DoubleAnimationRotation2");
            DoubleAnimationRotation = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)this.FindName("DoubleAnimationRotation");
            projection = (global::Windows.UI.Xaml.Media.PlaneProjection)this.FindName("projection");
            TextBlockPoints = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TextBlockPoints");
            TextBlockNotification = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TextBlockNotification");
            BtnNewGame = (global::Windows.UI.Xaml.Controls.Button)this.FindName("BtnNewGame");
            BtnHighScores = (global::Windows.UI.Xaml.Controls.Button)this.FindName("BtnHighScores");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup)this.FindName("ApplicationViewStates");
            FullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (global::Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }
Esempio n. 5
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
            {
                this.gridje = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 3:
            {
                this.enemyDiedAnimation = (global::Windows.UI.Xaml.Media.Animation.Storyboard)(target);
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Media.Animation.DoubleAnimation element4 = (global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)(target);
                    #line 17 "..\..\..\GameView.xaml"
                ((global::Windows.UI.Xaml.Media.Animation.DoubleAnimation)element4).Completed += this.enemyDiedAnimation_Completed;
                    #line default
            }
            break;

            case 6:
            {
                this.GamePanel = (global::Windows.UI.Xaml.Controls.Canvas)(target);
            }
            break;

            case 7:
            {
                this.CloseButton = (global::Windows.UI.Xaml.Controls.Image)(target);
                    #line 58 "..\..\..\GameView.xaml"
                ((global::Windows.UI.Xaml.Controls.Image) this.CloseButton).PointerPressed += this.CloseButton_Click;
                    #line default
            }
            break;

            case 8:
            {
                this.resetButton = (global::Windows.UI.Xaml.Controls.Image)(target);
                    #line 59 "..\..\..\GameView.xaml"
                ((global::Windows.UI.Xaml.Controls.Image) this.resetButton).PointerPressed += this.resetButton_Click;
                    #line default
            }
            break;

            case 9:
            {
                this.pauseStatusImage = (global::Windows.UI.Xaml.Controls.Image)(target);
                    #line 60 "..\..\..\GameView.xaml"
                ((global::Windows.UI.Xaml.Controls.Image) this.pauseStatusImage).PointerPressed += this.pauseButton_Click;
                    #line default
            }
            break;

            case 10:
            {
                this.PlayerEllipse = (global::Windows.UI.Xaml.Shapes.Ellipse)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }