public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PersianFacebook;component/Pages/Copy%20of%20User.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.adControl = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("adControl")));
     this.pivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot")));
     this.profileContainer = ((System.Windows.Controls.Grid)(this.FindName("profileContainer")));
     this.statusContainer = ((System.Windows.Controls.StackPanel)(this.FindName("statusContainer")));
     this.btnStatus = ((System.Windows.Controls.Button)(this.FindName("btnStatus")));
     this.txtWallMessage = ((System.Windows.Controls.TextBox)(this.FindName("txtWallMessage")));
     this.btnPost = ((System.Windows.Controls.Button)(this.FindName("btnPost")));
     this.lstFeeds = ((System.Windows.Controls.ListBox)(this.FindName("lstFeeds")));
     this.lstPhotos = ((System.Windows.Controls.ListBox)(this.FindName("lstPhotos")));
     this.lstAlbums = ((System.Windows.Controls.ListBox)(this.FindName("lstAlbums")));
     this.lstPages = ((System.Windows.Controls.ListBox)(this.FindName("lstPages")));
     this.lstGroups = ((System.Windows.Controls.ListBox)(this.FindName("lstGroups")));
     this.lstNotes = ((System.Windows.Controls.ListBox)(this.FindName("lstNotes")));
     this.lstMutuals = ((System.Windows.Controls.ListBox)(this.FindName("lstMutuals")));
     this.btnHome = ((System.Windows.Controls.Button)(this.FindName("btnHome")));
     this.progressbar = ((PersianFacebook.Modules.LoadingPanel)(this.FindName("progressbar")));
     this.pageMenu = ((PersianFacebook.Modules.PageMenu)(this.FindName("pageMenu")));
     this.btnPin = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnPin")));
     this.btnMenu = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnMenu")));
     this.btnSync = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSync")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PersianFacebook;component/Pages/Copy%20of%20FeedItem.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot")));
     this.itemContainer = ((System.Windows.Controls.Grid)(this.FindName("itemContainer")));
     this.btnFrom = ((System.Windows.Controls.Button)(this.FindName("btnFrom")));
     this.btnLink = ((System.Windows.Controls.Button)(this.FindName("btnLink")));
     this.lstComments = ((System.Windows.Controls.ListBox)(this.FindName("lstComments")));
     this.txtComment = ((System.Windows.Controls.TextBox)(this.FindName("txtComment")));
     this.lstLikes = ((System.Windows.Controls.ListBox)(this.FindName("lstLikes")));
     this.btnLike = ((System.Windows.Controls.Button)(this.FindName("btnLike")));
     this.progressbar = ((PersianFacebook.Modules.LoadingPanel)(this.FindName("progressbar")));
     this.pageMenu = ((PersianFacebook.Modules.PageMenu)(this.FindName("pageMenu")));
     this.btnMenu = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnMenu")));
     this.btnSync = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSync")));
 }