public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/GSinPV;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.statusText = ((System.Windows.Controls.TextBlock)(this.FindName("statusText"))); this.gspivotviewer = ((System.Windows.Controls.Pivot.PivotViewer)(this.FindName("gspivotviewer"))); }