public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/HomePage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::MyRehersalMetronom.Common.LayoutAwarePage) this.FindName("pageRoot"); Rehersals = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("Rehersals"); rehersalsGridView = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("rehersalsGridView"); addBtn = (global::Windows.UI.Xaml.Controls.Button) this.FindName("addBtn"); 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"); bottomAppBar = (global::Windows.UI.Xaml.Controls.AppBar) this.FindName("bottomAppBar"); confirmDeleteBtn = (global::Windows.UI.Xaml.Controls.Button) this.FindName("confirmDeleteBtn"); invokeDeleteBtn = (global::Windows.UI.Xaml.Controls.Button) this.FindName("invokeDeleteBtn"); openRenameBtn = (global::Windows.UI.Xaml.Controls.Button) this.FindName("openRenameBtn"); renamePopup = (global::Windows.UI.Xaml.Controls.Primitives.Popup) this.FindName("renamePopup"); saveRenameBtn = (global::Windows.UI.Xaml.Controls.Button) this.FindName("saveRenameBtn"); renameText = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("renameText"); renameErrorMsg = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("renameErrorMsg"); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/TimeBarPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::MyRehersalMetronom.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"); }