Beispiel #1
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::DinnerDecision.Common.LayoutAwarePage)this.FindName("pageRoot");
            ParentGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("ParentGrid");
            DinnerTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("DinnerTextBlock");
            StartButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("StartButton");
            MenuButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("MenuButton");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            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");
        }
Beispiel #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MenuPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::DinnerDecision.Common.LayoutAwarePage)this.FindName("pageRoot");
            titlePanel = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("titlePanel");
            MenuTextBox = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("MenuTextBox");
            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");
            FullScreenLandscapeOrWide = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscapeOrWide");
            FilledOrNarrow = (global::Windows.UI.Xaml.VisualState)this.FindName("FilledOrNarrow");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            FullScreenPortrait_Detail = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait_Detail");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
            Snapped_Detail = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped_Detail");
        }