コード例 #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.SmaatoAd     = ((SOMAWP8.SomaAdViewer)(this.FindName("SmaatoAd")));
 }
コード例 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AppStudio;component/Views/VendiDetail.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.appBar     = ((Cimbalino.Phone.Toolkit.Behaviors.ApplicationBarBehavior)(this.FindName("appBar")));
     this.Container  = ((Microsoft.Phone.Controls.Pivot)(this.FindName("Container")));
     this.SmaatoAd   = ((SOMAWP8.SomaAdViewer)(this.FindName("SmaatoAd")));
 }
コード例 #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AppStudio;component/Views/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Container      = ((Microsoft.Phone.Controls.Panorama)(this.FindName("Container")));
     this.KategoriteItem = ((Microsoft.Phone.Controls.PanoramaItem)(this.FindName("KategoriteItem")));
     this.SmaatoAd       = ((SOMAWP8.SomaAdViewer)(this.FindName("SmaatoAd")));
 }
コード例 #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/ScorePage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.greetingText = ((System.Windows.Controls.TextBlock)(this.FindName("greetingText")));
     this.firstLine    = ((System.Windows.Controls.TextBlock)(this.FindName("firstLine")));
     this.secondLine   = ((System.Windows.Controls.TextBlock)(this.FindName("secondLine")));
     this.SmaatoAd     = ((SOMAWP8.SomaAdViewer)(this.FindName("SmaatoAd")));
 }
コード例 #5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/GamePage.xaml", System.UriKind.Relative));
     this.opacityStoryBoard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("opacityStoryBoard")));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel      = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.scoreText         = ((System.Windows.Controls.TextBlock)(this.FindName("scoreText")));
     this.textBlock         = ((System.Windows.Shapes.Path)(this.FindName("textBlock")));
     this.colorName         = ((System.Windows.Controls.TextBlock)(this.FindName("colorName")));
     this.colorBlock        = ((System.Windows.Shapes.Path)(this.FindName("colorBlock")));
     this.answerImage       = ((System.Windows.Controls.Image)(this.FindName("answerImage")));
     this.SmaatoAd          = ((SOMAWP8.SomaAdViewer)(this.FindName("SmaatoAd")));
 }