public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/CheckoutHubPage.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"); scrollViewer = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("scrollViewer"); HubGrid = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("HubGrid"); ShippingAddressLabel = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("ShippingAddressLabel"); ShippingAddressInfo = (global::AdventureWorks.Shopper.Views.ShippingAddressUserControl) this.FindName("ShippingAddressInfo"); BillingAddressLabel = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("BillingAddressLabel"); SameAsShippingAddressCheckBox = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("SameAsShippingAddressCheckBox"); BillingAddressInfo = (global::AdventureWorks.Shopper.Views.BillingAddressUserControl) this.FindName("BillingAddressInfo"); PaymentMethodLabel = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("PaymentMethodLabel"); PaymentMethodAndSubmitPanel = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("PaymentMethodAndSubmitPanel"); PaymentMethodInfo = (global::AdventureWorks.Shopper.Views.PaymentMethodUserControl) this.FindName("PaymentMethodInfo"); SubmitButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("SubmitButton"); 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"); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/PaymentMethodPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot"); contentGrid = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("contentGrid"); stackPanel = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel"); paymentMethodUC = (global::AdventureWorks.Shopper.Views.PaymentMethodUserControl) this.FindName("paymentMethodUC"); button = (global::Windows.UI.Xaml.Controls.Button) this.FindName("button"); 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"); }