Exemplo n.º 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PersianFacebook;component/Pages/Login.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.browser = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("browser")));
     this.progressbar = ((FaceFeed.Modules.LoadingPanel)(this.FindName("progressbar")));
 }
Exemplo n.º 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PersianFacebook;component/Pages/Home.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.adControl = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("adControl")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.pivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot")));
     this.lstFeeds = ((System.Windows.Controls.ListBox)(this.FindName("lstFeeds")));
     this.btnFeedLoadMore = ((System.Windows.Controls.Button)(this.FindName("btnFeedLoadMore")));
     this.txtSearchFriends = ((System.Windows.Controls.TextBox)(this.FindName("txtSearchFriends")));
     this.lstFriends = ((System.Windows.Controls.ListBox)(this.FindName("lstFriends")));
     this.txtSearchPages = ((System.Windows.Controls.TextBox)(this.FindName("txtSearchPages")));
     this.lstPages = ((System.Windows.Controls.ListBox)(this.FindName("lstPages")));
     this.txtSearchGroups = ((System.Windows.Controls.TextBox)(this.FindName("txtSearchGroups")));
     this.lstGroups = ((System.Windows.Controls.ListBox)(this.FindName("lstGroups")));
     this.lstNotes = ((System.Windows.Controls.ListBox)(this.FindName("lstNotes")));
     this.lstPhotos = ((System.Windows.Controls.ListBox)(this.FindName("lstPhotos")));
     this.lstAlbums = ((System.Windows.Controls.ListBox)(this.FindName("lstAlbums")));
     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.lstWallPosts = ((System.Windows.Controls.ListBox)(this.FindName("lstWallPosts")));
     this.btnWallPostsMore = ((System.Windows.Controls.Button)(this.FindName("btnWallPostsMore")));
     this.lstNotifications = ((System.Windows.Controls.ListBox)(this.FindName("lstNotifications")));
     this.progressbar = ((FaceFeed.Modules.LoadingPanel)(this.FindName("progressbar")));
     this.pageMenu = ((FaceFeed.Modules.PageMenu)(this.FindName("pageMenu")));
     this.btnSettings = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSettings")));
     this.btnMenu = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnMenu")));
     this.btnSync = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSync")));
     this.btnClearCache = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnClearCache")));
     this.btnLogOut = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnLogOut")));
     this.btnAbout = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnAbout")));
 }
Exemplo n.º 3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PersianFacebook;component/Pages/Note.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.itemContainer = ((System.Windows.Controls.StackPanel)(this.FindName("itemContainer")));
     this.lstComments = ((System.Windows.Controls.ListBox)(this.FindName("lstComments")));
     this.btnCommentsMore = ((System.Windows.Controls.Button)(this.FindName("btnCommentsMore")));
     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.btnHome = ((System.Windows.Controls.Button)(this.FindName("btnHome")));
     this.progressbar = ((FaceFeed.Modules.LoadingPanel)(this.FindName("progressbar")));
     this.pageMenu = ((FaceFeed.Modules.PageMenu)(this.FindName("pageMenu")));
     this.btnMenu = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnMenu")));
     this.btnSync = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSync")));
 }