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

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///TetrisMultiPlayer.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::MultiplayerTetris.Common.LayoutAwarePage)this.FindName("pageRoot");
            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");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::MultiplayerTetris.Common.LayoutAwarePage) this.FindName("pageRoot");
            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");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::MultiplayerTetris.Common.LayoutAwarePage) this.FindName("pageRoot");
            gameRegion            = (global::Windows.UI.Xaml.Controls.Canvas) this.FindName("gameRegion");
            gameOverText          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("gameOverText");
            popUp                 = (global::Windows.UI.Xaml.Controls.Primitives.Popup) this.FindName("popUp");
            GoalText1             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("GoalText1");
            GoalText2             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("GoalText2");
            GoalText3             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("GoalText3");
            GoalText4             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("GoalText4");
            pauseButton           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("pauseButton");
            restartButton         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("restartButton");
            levelText             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("levelText");
            levelSlider           = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("levelSlider");
            canvasBoard           = (global::Windows.UI.Xaml.Controls.Canvas) this.FindName("canvasBoard");
            nextPieceCanvas       = (global::Windows.UI.Xaml.Controls.Canvas) this.FindName("nextPieceCanvas");
            linesText             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("linesText");
            pointsText            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pointsText");
            drop                  = (global::Windows.UI.Xaml.Controls.Button) this.FindName("drop");
            comboText             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("comboText");
            timeText              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("timeText");
            apmText               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("apmText");
            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");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///TetrisSinglePlayer.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::MultiplayerTetris.Common.LayoutAwarePage)this.FindName("pageRoot");
            gameRegion = (global::Windows.UI.Xaml.Controls.Canvas)this.FindName("gameRegion");
            gameOverText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("gameOverText");
            popUp = (global::Windows.UI.Xaml.Controls.Primitives.Popup)this.FindName("popUp");
            GoalText1 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("GoalText1");
            GoalText2 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("GoalText2");
            GoalText3 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("GoalText3");
            GoalText4 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("GoalText4");
            pauseButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("pauseButton");
            restartButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("restartButton");
            levelText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("levelText");
            levelSlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("levelSlider");
            canvasBoard = (global::Windows.UI.Xaml.Controls.Canvas)this.FindName("canvasBoard");
            nextPieceCanvas = (global::Windows.UI.Xaml.Controls.Canvas)this.FindName("nextPieceCanvas");
            linesText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("linesText");
            pointsText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pointsText");
            drop = (global::Windows.UI.Xaml.Controls.Button)this.FindName("drop");
            comboText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("comboText");
            timeText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("timeText");
            apmText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("apmText");
            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");
        }