public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/HtmlTextBlockTest;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.htmlTextBlock = ((WP7_Mango_HtmlTextBlockControl.HtmlTextBlock)(this.FindName("htmlTextBlock"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/APOD-Metro-Phone;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.adControl1 = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("adControl1"))); this.panoMain = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panoMain"))); this.TodayButton = ((System.Windows.Controls.Button)(this.FindName("TodayButton"))); this.Explanation = ((WP7_Mango_HtmlTextBlockControl.HtmlTextBlock)(this.FindName("Explanation"))); this.UIList = ((System.Windows.Controls.ListBox)(this.FindName("UIList"))); }