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);
 
            swapppy = (global::Windows.UI.Xaml.Controls.SwapChainBackgroundPanel)this.FindName("swapppy");
            txtScore = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("txtScore");
        }
Пример #2
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);

            DXSwapChainPanel    = (global::Windows.UI.Xaml.Controls.SwapChainBackgroundPanel) this.FindName("DXSwapChainPanel");
            ExtendedSplashGrid  = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ExtendedSplashGrid");
            ExtendedSplashImage = (global::Windows.UI.Xaml.Controls.Image) this.FindName("ExtendedSplashImage");
        }
Пример #3
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);

            swapppy   = (global::Windows.UI.Xaml.Controls.SwapChainBackgroundPanel) this.FindName("swapppy");
            txtScore1 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtScore1");
            txtScore2 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtScore2");
            cmdPause  = (global::Windows.UI.Xaml.Controls.Button) this.FindName("cmdPause");
        }
Пример #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);

            swapppy         = (global::Windows.UI.Xaml.Controls.SwapChainBackgroundPanel) this.FindName("swapppy");
            txtScore        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtScore");
            txtCameraPos    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtCameraPos");
            txtPlayerPos    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtPlayerPos");
            txtCameraTarget = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtCameraTarget");
            buttonJump      = (global::Windows.UI.Xaml.Controls.Button) this.FindName("buttonJump");
            buttonShoot     = (global::Windows.UI.Xaml.Controls.Button) this.FindName("buttonShoot");
        }
Пример #5
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);

            SwapChainPanel        = (global::Windows.UI.Xaml.Controls.SwapChainBackgroundPanel) this.FindName("SwapChainPanel");
            SnappedOverlay        = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("SnappedOverlay");
            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");
        }