public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            HideMap = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("HideMap");
            ShowMap = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("ShowMap");
            RefreshPosition = (global::Windows.UI.Xaml.Controls.AppBarButton)this.FindName("RefreshPosition");
            RefreshVenues = (global::Windows.UI.Xaml.Controls.AppBarButton)this.FindName("RefreshVenues");
            MapLocationsControl = (global::Windows.UI.Xaml.Controls.Maps.MapControl)this.FindName("MapLocationsControl");
            Map = (global::Windows.UI.Xaml.Controls.Maps.MapControl)this.FindName("Map");
            InfoBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("InfoBorder");
            LoadingGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LoadingGrid");
            LoadingPR = (global::Windows.UI.Xaml.Controls.ProgressRing)this.FindName("LoadingPR");
            LoadingTitleTB = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("LoadingTitleTB");
            LoadingTB = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("LoadingTB");
            count = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("count");
            TBname = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TBname");
            TBaddress = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TBaddress");
            TBdistance = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TBdistance");
            TBCategory = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TBCategory");
            iconimage = (global::Windows.UI.Xaml.Controls.Image)this.FindName("iconimage");
            TextBlockPosition = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("TextBlockPosition");
            mapitem = (global::Windows.UI.Xaml.Controls.Maps.MapItemsControl)this.FindName("mapitem");
        }
示例#2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///ShowParkings.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            LayoutRoot      = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            ContentRoot     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ContentRoot");
            mapWithParkings = (global::Windows.UI.Xaml.Controls.Maps.MapControl) this.FindName("mapWithParkings");
            btnZoomIn       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnZoomIn");
            btnZoomOut      = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnZoomOut");
            Pushpins        = (global::Windows.UI.Xaml.Controls.Maps.MapItemsControl) this.FindName("Pushpins");
        }
示例#3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MapStations.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            LayoutRoot   = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            progressBar  = (global::Windows.UI.Xaml.Controls.ProgressBar) this.FindName("progressBar");
            ContentRoot  = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ContentRoot");
            Mappa        = (global::Windows.UI.Xaml.Controls.Maps.MapControl) this.FindName("Mappa");
            Ad           = (global::Microsoft.Advertising.Mobile.UI.AdControl) this.FindName("Ad");
            Puspins      = (global::Windows.UI.Xaml.Controls.Maps.MapItemsControl) this.FindName("Puspins");
            TestoRicerca = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TestoRicerca");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/Contactos.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            LayoutRoot       = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            map1             = (global::Windows.UI.Xaml.Controls.Maps.MapControl) this.FindName("map1");
            MyLocationButton = (global::Windows.UI.Xaml.Controls.Border) this.FindName("MyLocationButton");
            Caixa            = (global::Windows.UI.Xaml.Controls.Border) this.FindName("Caixa");
            Nome             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Nome");
            Morada           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Morada");
            phone_stack      = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("phone_stack");
            email_stack      = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("email_stack");
            emailBlc         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("emailBlc");
            Email            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Email");
            teleBlc          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("teleBlc");
            Telefone         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Telefone");
            MapItems         = (global::Windows.UI.Xaml.Controls.Maps.MapItemsControl) this.FindName("MapItems");
        }