Ejemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MosqueFinder;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel   = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ardisplay    = ((GART.Controls.ARDisplay)(this.FindName("ardisplay")));
     this.videoPreview = ((GART.Controls.VideoPreview)(this.FindName("videoPreview")));
     this.worldView    = ((GART.Controls.WorldView)(this.FindName("worldView")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ZOOGDL;component/Map.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ARDisplay        = ((GART.Controls.ARDisplay)(this.FindName("ARDisplay")));
     this.VideoPreview     = ((GART.Controls.VideoPreview)(this.FindName("VideoPreview")));
     this.WorldView        = ((GART.Controls.WorldView)(this.FindName("WorldView")));
     this.HeadingIndicator = ((GART.Controls.HeadingIndicator)(this.FindName("HeadingIndicator")));
     this.MyMap            = ((Microsoft.Phone.Maps.Controls.Map)(this.FindName("MyMap")));
     this.video            = ((System.Windows.Controls.Button)(this.FindName("video")));
     this.location         = ((System.Windows.Controls.Button)(this.FindName("location")));
     this.animales         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("animales")));
     this.atracciones      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("atracciones")));
     this.servicios        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("servicios")));
 }