Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MarketRoulet;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.AdControl = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("AdControl")));
     this.ContentLayout = ((Microsoft.Phone.Controls.Pivot)(this.FindName("ContentLayout")));
     this.ErrorDisplayer = ((FstnUserControl.Error.ErrorDisplayer)(this.FindName("ErrorDisplayer")));
 }
Пример #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GiveMeSomething;component/MainPage.xaml", System.UriKind.Relative));
     this.Background = ((System.Windows.Controls.Image)(this.FindName("Background")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.AdControl = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("AdControl")));
     this.ContentLayout = ((System.Windows.Controls.StackPanel)(this.FindName("ContentLayout")));
     this.CategorieTitle = ((System.Windows.Controls.TextBlock)(this.FindName("CategorieTitle")));
     this.AppsPreviewContent = ((System.Windows.Controls.StackPanel)(this.FindName("AppsPreviewContent")));
     this.ErrorDisplayer = ((FstnUserControl.Error.ErrorDisplayer)(this.FindName("ErrorDisplayer")));
 }