Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SMSPorto;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.panoramaView = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panoramaView")));
     this.btnCreateSMS = ((System.Windows.Controls.Button)(this.FindName("btnCreateSMS")));
     this.adMobControl = ((Google.AdMob.Ads.WindowsPhone7.WPF.BannerAd)(this.FindName("adMobControl")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SMSPorto;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.panoramaView = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panoramaView")));
     this.btnCreateSMS = ((System.Windows.Controls.Button)(this.FindName("btnCreateSMS")));
     this.adMobControl = ((Google.AdMob.Ads.WindowsPhone7.WPF.BannerAd)(this.FindName("adMobControl")));
 }