public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/SearchResultsView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::CurrencyConvertor.Common.LayoutAwarePage) this.FindName("pageRoot"); resultsPanel = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("resultsPanel"); noResultsTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("noResultsTextBlock"); backButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton"); pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle"); resultText = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("resultText"); queryText = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("queryText"); typicalPanel = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("typicalPanel"); snappedPanel = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("snappedPanel"); ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates"); ResultStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ResultStates"); ResultsFound = (global::Windows.UI.Xaml.VisualState) this.FindName("ResultsFound"); NoResultsFound = (global::Windows.UI.Xaml.VisualState) this.FindName("NoResultsFound"); 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:///Views/HomePageView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::CurrencyConvertor.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"); }