Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SMSBillet;component/adcontrol.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.somaAdViewer = ((SOMAWP7.SomaAdViewer)(this.FindName("somaAdViewer")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SMSBillet;component/adcontrol.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.somaAdViewer = ((SOMAWP7.SomaAdViewer)(this.FindName("somaAdViewer")));
 }