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::Headphone_Test.Common.LayoutAwarePage)this.FindName("pageRoot"); LeftB = (global::Windows.UI.Xaml.Controls.Button)this.FindName("LeftB"); BothB = (global::Windows.UI.Xaml.Controls.Button)this.FindName("BothB"); RightB = (global::Windows.UI.Xaml.Controls.Button)this.FindName("RightB"); StopB = (global::Windows.UI.Xaml.Controls.Button)this.FindName("StopB"); backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton"); pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle"); Media = (global::Windows.UI.Xaml.Controls.MediaElement)this.FindName("Media"); 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:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::Headphone_Test.Common.LayoutAwarePage) this.FindName("pageRoot"); LeftB = (global::Windows.UI.Xaml.Controls.Button) this.FindName("LeftB"); BothB = (global::Windows.UI.Xaml.Controls.Button) this.FindName("BothB"); RightB = (global::Windows.UI.Xaml.Controls.Button) this.FindName("RightB"); StopB = (global::Windows.UI.Xaml.Controls.Button) this.FindName("StopB"); backButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton"); pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle"); Media = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("Media"); 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"); }