public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///PlaylistView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::Windows.UI.Xaml.Controls.Page)this.FindName("pageRoot"); ItemClickedConverter = (global::AniTube.ViewModels.ItemClickedConverter)this.FindName("ItemClickedConverter"); mediaPlayerFilm = (global::Microsoft.PlayerFramework.MediaPlayer)this.FindName("mediaPlayerFilm"); lvMain = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("lvMain"); backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton"); buttonToFavorites = (global::Windows.UI.Xaml.Controls.Button)this.FindName("buttonToFavorites"); buttonOutFromFavorites = (global::Windows.UI.Xaml.Controls.Button)this.FindName("buttonOutFromFavorites"); pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle"); }
public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); ItemClickedConverter = (global::AniTube.ViewModels.ItemClickedConverter)this.FindName("ItemClickedConverter"); gridViewPlaylists = (global::Windows.UI.Xaml.Controls.GridView)this.FindName("gridViewPlaylists"); popupPlaylist = (global::Windows.UI.Xaml.Controls.Primitives.Popup)this.FindName("popupPlaylist"); textBlockTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textBlockTitle"); image = (global::Windows.UI.Xaml.Controls.Image)this.FindName("image"); textBlockOtherNames = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textBlockOtherNames"); textBlockdescription = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textBlockdescription"); buttonHD = (global::Windows.UI.Xaml.Controls.Button)this.FindName("buttonHD"); buttonSD = (global::Windows.UI.Xaml.Controls.Button)this.FindName("buttonSD"); buttonToFavorites = (global::Windows.UI.Xaml.Controls.Button)this.FindName("buttonToFavorites"); buttonOutFromFavorites = (global::Windows.UI.Xaml.Controls.Button)this.FindName("buttonOutFromFavorites"); }