public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/News;component/PlayerPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.player = ((Microsoft.PlayerFramework.MediaPlayer)(this.FindName("player"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/News;component/Detail.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.Background = ((System.Windows.Media.ImageBrush)(this.FindName("Background"))); this.textHead = ((System.Windows.Controls.TextBlock)(this.FindName("textHead"))); this.GridTop = ((System.Windows.Controls.Grid)(this.FindName("GridTop"))); this.PicTop = ((System.Windows.Controls.Image)(this.FindName("PicTop"))); this.iconPlay = ((System.Windows.Controls.Image)(this.FindName("iconPlay"))); this.player = ((Microsoft.PlayerFramework.MediaPlayer)(this.FindName("player"))); this.descriptionLabel = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("descriptionLabel"))); this.stackPanel = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel"))); this.textView = ((System.Windows.Controls.TextBlock)(this.FindName("textView"))); this.viewnum = ((System.Windows.Controls.TextBlock)(this.FindName("viewnum"))); this.GridButtom = ((System.Windows.Controls.Grid)(this.FindName("GridButtom"))); this.ToolBox = ((System.Windows.Controls.ListBox)(this.FindName("ToolBox"))); this.LoadingPanel = ((System.Windows.Controls.Grid)(this.FindName("LoadingPanel"))); this.loadingLabel = ((System.Windows.Controls.TextBlock)(this.FindName("loadingLabel"))); this.performanceProgressBarCustomized = ((Microsoft.Phone.Controls.PerformanceProgressBar)(this.FindName("performanceProgressBarCustomized"))); }