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

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

            pageRoot              = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            headerGrid            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("headerGrid");
            resultsPanel          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("resultsPanel");
            noResultsTextBlock    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("noResultsTextBlock");
            typicalPanel          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("typicalPanel");
            itemsGridView         = (global::AdventureWorks.Shopper.Controls.AutoRotatingGridView) this.FindName("itemsGridView");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            searchHeader          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("searchHeader");
            searchUserControl     = (global::AdventureWorks.Shopper.Views.SearchUserControl) this.FindName("searchUserControl");
            resultNumber          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("resultNumber");
            resultText            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("resultText");
            queryText             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("queryText");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            DefaultLayout         = (global::Windows.UI.Xaml.VisualState) this.FindName("DefaultLayout");
            PortraitLayout        = (global::Windows.UI.Xaml.VisualState) this.FindName("PortraitLayout");
            MinimalLayout         = (global::Windows.UI.Xaml.VisualState) this.FindName("MinimalLayout");
        }
Ejemplo n.º 2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot                  = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            grid1                     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid1");
            ScrollContainer           = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("ScrollContainer");
            content                   = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("content");
            OverviewLabel             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("OverviewLabel");
            OverviewPanel             = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("OverviewPanel");
            ItemsLabel                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("ItemsLabel");
            ShoppingCartItemsGridView = (global::AdventureWorks.Shopper.Controls.AutoRotatingGridView) this.FindName("ShoppingCartItemsGridView");
            grid                    = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid");
            CheckoutButton          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("CheckoutButton");
            textBlock2              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock2");
            textBlock5              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock5");
            textBlock3              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock3");
            textBlock6              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock6");
            textBlock4              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock4");
            textBlock7              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock7");
            backButton              = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("backButton");
            pageTitle               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates   = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            DefaultLayout           = (global::Windows.UI.Xaml.VisualState) this.FindName("DefaultLayout");
            PortraitLayout          = (global::Windows.UI.Xaml.VisualState) this.FindName("PortraitLayout");
            MinimalLayout           = (global::Windows.UI.Xaml.VisualState) this.FindName("MinimalLayout");
            EditAmountAppBarButton  = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("EditAmountAppBarButton");
            RemoveAppBarButton      = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("RemoveAppBarButton");
            PopupPanel              = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("PopupPanel");
            ContentPopupGrid        = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ContentPopupGrid");
            DecrementQuantityButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("DecrementQuantityButton");
            EditQuantity            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("EditQuantity");
            IncrementQuantityButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("IncrementQuantityButton");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot    = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            content     = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("content");
            ContentGrid = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ContentGrid");
            SummarySubheaderTextStyle = (global::Windows.UI.Xaml.Style) this.FindName("SummarySubheaderTextStyle");
            OverviewLabel             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("OverviewLabel");
            OverviewPanel             = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("OverviewPanel");
            AddressAndPaymentLabel    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("AddressAndPaymentLabel");
            AddressAndPaymentList     = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("AddressAndPaymentList");
            SelectShippingPlanLabel   = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("SelectShippingPlanLabel");
            SelectShippingPlanList    = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("SelectShippingPlanList");
            CartItemsLabel            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("CartItemsLabel");
            ItemsGridView             = (global::AdventureWorks.Shopper.Controls.AutoRotatingGridView) this.FindName("ItemsGridView");
            OverviewGrid                   = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("OverviewGrid");
            SubmitButton                   = (global::Windows.UI.Xaml.Controls.Button) this.FindName("SubmitButton");
            GrandTotalLabel                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("GrandTotalLabel");
            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");
            DefaultLayout                  = (global::Windows.UI.Xaml.VisualState) this.FindName("DefaultLayout");
            PortraitLayout                 = (global::Windows.UI.Xaml.VisualState) this.FindName("PortraitLayout");
            MinimalLayout                  = (global::Windows.UI.Xaml.VisualState) this.FindName("MinimalLayout");
            SelectCheckoutDataAppBarButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("SelectCheckoutDataAppBarButton");
            EditCheckoutDataAppBarButton   = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("EditCheckoutDataAppBarButton");
            PopupPanel                     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("PopupPanel");
            PopupTitle                     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("PopupTitle");
            PopupItems                     = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("PopupItems");
            PopupButton                    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("PopupButton");
        }