public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/NoiseMap;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.pivotMain = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivotMain"))); this.MainPanel = ((System.Windows.Controls.StackPanel)(this.FindName("MainPanel"))); this.recoder = ((System.Windows.Controls.Grid)(this.FindName("recoder"))); this.txtDB = ((System.Windows.Controls.TextBlock)(this.FindName("txtDB"))); this.UserHelp = ((System.Windows.Controls.TextBlock)(this.FindName("UserHelp"))); this.googleMapControl = ((NoiseMap.UserControls.GoogleMapControl)(this.FindName("googleMapControl"))); this.shareButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("shareButton"))); this.makerButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("makerButton"))); this.Settings = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("Settings"))); }