public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/FootballGeek;component/Views/PivotPage1.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.friendList1 = ((FootballGeek.FriendListControl)(this.FindName("friendList1"))); this.eventList1 = ((FootballGeek.AllEventsControl)(this.FindName("eventList1"))); this.appbar_button1 = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_button1"))); }