示例#1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public Map()
        {
            InitializeComponent();

            // Make sure that data context is loaded
            if (!App.ViewModel.IsDataLoaded)
            {
                App.ViewModel.LoadData();
            }

            // Set the data context
            DataContext = App.ViewModel;

            // Set up map view & map pushpin
#if WP8
            MapView                  = new Microsoft.Phone.Maps.Controls.Map();
            MapPushpin               = new Microsoft.Phone.Maps.Toolkit.Pushpin();
            MapPushpin.Name          = "MapPushpin";
            MapPushpin.GeoCoordinate = App.ViewModel.Restaurant.Location;

            ObservableCollection <DependencyObject> children = MapExtensions.GetChildren(MapView);
            children.Add(MapPushpin);
            MapExtensionsSetup(MapView);
#else
            MapView = new Microsoft.Phone.Controls.Maps.Map();
            MapView.ZoomBarVisibility = Visibility.Visible;
            MapPushpin          = new Microsoft.Phone.Controls.Maps.Pushpin();
            MapPushpin.Location = App.ViewModel.Restaurant.Location;
            MapView.Children.Add(MapPushpin);
#endif
            MapView.ZoomLevel = 12;
            MapView.Center    = App.ViewModel.Restaurant.Location;
            ContentPanel.Children.Add(MapView);
        }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GPS;component/MainPage.xaml", System.UriKind.Relative));
     this.Main              = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Main")));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel      = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Map               = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("Map")));
     this.circle_layer      = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("circle_layer")));
     this.InfoLayer         = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("InfoLayer")));
     this.InfoStackPanel    = ((System.Windows.Controls.StackPanel)(this.FindName("InfoStackPanel")));
     this.InfoTexBlock      = ((System.Windows.Controls.TextBlock)(this.FindName("InfoTexBlock")));
     this.alert_stack       = ((System.Windows.Controls.StackPanel)(this.FindName("alert_stack")));
     this.circle            = ((System.Windows.Shapes.Ellipse)(this.FindName("circle")));
     this.alert_text        = ((System.Windows.Controls.TextBlock)(this.FindName("alert_text")));
     this.speed_text        = ((System.Windows.Controls.TextBlock)(this.FindName("speed_text")));
     this.stackPanel1       = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.ImageToMap        = ((System.Windows.Controls.Button)(this.FindName("ImageToMap")));
     this.TakeMeHome        = ((System.Windows.Controls.Button)(this.FindName("TakeMeHome")));
     this.LocationBookmarks = ((System.Windows.Controls.Button)(this.FindName("LocationBookmarks")));
     this.HelpMe            = ((System.Windows.Controls.Button)(this.FindName("HelpMe")));
     this.Alert_Sound       = ((System.Windows.Controls.MediaElement)(this.FindName("Alert_Sound")));
     this.where_s_my_car    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("where_s_my_car")));
 }
示例#3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DatenErkundungen;component/Bars/ExtrablattMarkt.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle        = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.myMap            = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("myMap")));
     this.scrollViewer1    = ((System.Windows.Controls.ScrollViewer)(this.FindName("scrollViewer1")));
     this.stackPanel3      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel3")));
     this.textBlock1       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.textBlock5       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock5")));
     this.stackPanel2      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel2")));
     this.textBlock2       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.textBlock3       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.textBlock4       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock4")));
     this.stackPanel4      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel4")));
     this.stackPanel1      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.button1          = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.button3          = ((System.Windows.Controls.Button)(this.FindName("button3")));
     this.button2          = ((System.Windows.Controls.Button)(this.FindName("button2")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/LocationServiceViewer;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.ApplicationTitle   = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel       = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.textBlock1         = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.textBlock2         = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.textBlock3         = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.textBlock4         = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock4")));
     this.textBlock5         = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock5")));
     this.textBlock6         = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock6")));
     this.longitudeTextblock = ((System.Windows.Controls.TextBlock)(this.FindName("longitudeTextblock")));
     this.latitudeTextblock  = ((System.Windows.Controls.TextBlock)(this.FindName("latitudeTextblock")));
     this.speedreadout       = ((System.Windows.Controls.TextBlock)(this.FindName("speedreadout")));
     this.coursereadout      = ((System.Windows.Controls.TextBlock)(this.FindName("coursereadout")));
     this.altitudereadout    = ((System.Windows.Controls.TextBlock)(this.FindName("altitudereadout")));
     this.statusTextBlock    = ((System.Windows.Controls.TextBlock)(this.FindName("statusTextBlock")));
     this.trackMe            = ((System.Windows.Controls.Button)(this.FindName("trackMe")));
     this.startStop          = ((System.Windows.Controls.Button)(this.FindName("startStop")));
     this.myMap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("myMap")));
 }
示例#5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HomeOnPhone;component/SellHome.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle        = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.MapGrid          = ((System.Windows.Controls.Grid)(this.FindName("MapGrid")));
     this.LocationTextBox  = ((System.Windows.Controls.TextBox)(this.FindName("LocationTextBox")));
     this.HybirdMode       = ((System.Windows.Controls.RadioButton)(this.FindName("HybirdMode")));
     this.SatelliteMode    = ((System.Windows.Controls.RadioButton)(this.FindName("SatelliteMode")));
     this.StreetMode       = ((System.Windows.Controls.RadioButton)(this.FindName("StreetMode")));
     this.googlemap        = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("googlemap")));
     this.street           = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.wateroverlay     = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("wateroverlay")));
     this.hybrid           = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("hybrid")));
     this.satellite        = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("satellite")));
     this.physical         = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("physical")));
 }
示例#6
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/OValiantHearts;component/Map.xaml", System.UriKind.Relative));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Drumble;component/Views/TripDetails.xaml", System.UriKind.Relative));
     this.Header = ((Drumble.UserControls.Header)(this.FindName("Header")));
     this.Map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("Map")));
 }
示例#8
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TAWAGISFinder;component/Class/Main/HomePage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
 }
示例#9
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/hpproj3;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.gMap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("gMap")));
 }
示例#10
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Here;component/Map.xaml", System.UriKind.Relative));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
 }
示例#11
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MySchoolApp;component/MapPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
 }
示例#12
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/view;component/View/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.MainListBox = ((System.Windows.Controls.ListBox)(this.FindName("MainListBox")));
 }
示例#13
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/hpproj3;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.gMap       = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("gMap")));
 }
示例#14
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DiscountMe;component/Controles/Navegacion.xaml", System.UriKind.Relative));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.mapa         = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapa")));
 }
示例#15
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Drumble;component/Views/TripDetails.xaml", System.UriKind.Relative));
     this.Header = ((Drumble.UserControls.Header)(this.FindName("Header")));
     this.Map    = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("Map")));
 }
示例#16
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WindowsPhoneApplication1;component/CoolDevices.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel2 = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel2")));
     this.BingMapControl = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("BingMapControl")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.MyListBox = ((System.Windows.Controls.ListBox)(this.FindName("MyListBox")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MySchoolApp;component/MapPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Mobica;component/Map.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
 }
示例#19
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/VKPro;component/Map.xaml", System.UriKind.Relative));
     this.mapGrid = ((System.Windows.Controls.Grid)(this.FindName("mapGrid")));
     this.map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
     this.street = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.hybrid = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("hybrid")));
     this.satellite = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("satellite")));
 }
示例#20
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/OSMTracker;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.curAdmin = ((System.Windows.Controls.TextBlock)(this.FindName("curAdmin")));
     this.curCoord = ((System.Windows.Controls.TextBlock)(this.FindName("curCoord")));
     this.map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
 }
示例#21
0
文件: Spot.g.i.cs 项目: DISD/2UG
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/2UG;component/pages/Spot.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.dagerous_spot = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("dagerous_spot")));
 }
示例#22
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Windows%20Dining;component/MapDetail.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.Map = ((System.Windows.Controls.TextBlock)(this.FindName("Map")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.DiningMap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("DiningMap")));
 }
示例#23
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WP7SQLiteClient;component/Copy%20of%20Map.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.PushpinLayer = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("PushpinLayer")));
 }
示例#24
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Windows%20Dining;component/MapDetail.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel   = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.Map          = ((System.Windows.Controls.TextBlock)(this.FindName("Map")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.DiningMap    = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("DiningMap")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/InterVehicleFleetDriver;component/MainMenu.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtStatus = ((System.Windows.Controls.TextBlock)(this.FindName("txtStatus")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.viewfinderCanvas = ((System.Windows.Controls.Canvas)(this.FindName("viewfinderCanvas")));
     this.viewfinderBrush = ((System.Windows.Media.VideoBrush)(this.FindName("viewfinderBrush")));
     this.viewfinderTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("viewfinderTransform")));
     this.txtMessage = ((System.Windows.Controls.TextBlock)(this.FindName("txtMessage")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CustomMaps;component/CustomMapsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
     this.tbMapResult = ((System.Windows.Controls.TextBlock)(this.FindName("tbMapResult")));
     this.btnDefault = ((System.Windows.Controls.Button)(this.FindName("btnDefault")));
 }
示例#27
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ShareMyKebab;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.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.btnStart = ((System.Windows.Controls.Button)(this.FindName("btnStart")));
     this.mapMain = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapMain")));
     this.tbStatus = ((System.Windows.Controls.TextBlock)(this.FindName("tbStatus")));
 }
示例#28
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NoiseMap;component/UserControls/GoogleMap.xaml", System.UriKind.Relative));
     this.LogoTemplate = ((System.Windows.DataTemplate)(this.FindName("LogoTemplate")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.googlemap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("googlemap")));
     this.street = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.ButtonZoomIn = ((System.Windows.Controls.Button)(this.FindName("ButtonZoomIn")));
     this.ButtonZoomOut = ((System.Windows.Controls.Button)(this.FindName("ButtonZoomOut")));
 }
示例#29
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DOLStatsMango;component/Views/JobMapView.xaml", System.UriKind.Relative));
     this.appBarBtnMapView = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appBarBtnMapView")));
     this.appBarGetDirections = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appBarGetDirections")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.mapJobLocation = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapJobLocation")));
 }
示例#30
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ScavangerHunt;component/CurrentClue.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.txtTitle = ((System.Windows.Controls.TextBlock)(this.FindName("txtTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.mapClue = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapClue")));
     this.txtClueText = ((System.Windows.Controls.TextBlock)(this.FindName("txtClueText")));
     this.cmdScan = ((System.Windows.Controls.Button)(this.FindName("cmdScan")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HSL;component/FromToAddressResult.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.fromToListBox = ((System.Windows.Controls.ListBox)(this.FindName("fromToListBox")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.mapControl = ((Microsoft.Phone.Controls.Maps.MapItemsControl)(this.FindName("mapControl")));
 }
示例#32
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/LocationTrialWP;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.searchTextBox = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("searchTextBox")));
     this.googlemap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("googlemap")));
     this.street = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.wateroverlay = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("wateroverlay")));
     this.hybrid = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("hybrid")));
     this.satellite = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("satellite")));
     this.physical = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("physical")));
 }
示例#33
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/JuanValdez;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.JuanValdez   = ((System.Windows.Controls.TextBlock)(this.FindName("JuanValdez")));
     this.PageTitle    = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.mapa         = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapa")));
 }
示例#34
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Lannion%20Bus;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel     = ((System.Windows.Controls.Grid)(this.FindName("TitlePanel")));
     this.map            = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
     this.arrets_proches = ((System.Windows.Controls.ListBox)(this.FindName("arrets_proches")));
     this.map_mode       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("map_mode")));
     this.aerien_mode    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("aerien_mode")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GPS;component/AddressPlotting.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.bingMap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("bingMap")));
     this.bingMapLocator = ((Microsoft.Phone.Controls.Maps.Pushpin)(this.FindName("bingMapLocator")));
     this.locator = ((System.Windows.Shapes.Ellipse)(this.FindName("locator")));
     this.GetAddress = ((System.Windows.Controls.Button)(this.FindName("GetAddress")));
 }
示例#36
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TAWAGISFinder;component/Class/Main/HomePage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ShowNoti_Ani = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ShowNoti_Ani")));
     this.myMapControl = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("myMapControl")));
     this.RouteLayer = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("RouteLayer")));
     this.myLayer = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("myLayer")));
     this.RoadmapLayer = ((Microsoft.Phone.Controls.Maps.MapItemsControl)(this.FindName("RoadmapLayer")));
     this.MapStatusNoti = ((System.Windows.Controls.Grid)(this.FindName("MapStatusNoti")));
     this.MainBar = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("MainBar")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NearestBART;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.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.mapControl = ((Microsoft.Phone.Controls.Maps.MapItemsControl)(this.FindName("mapControl")));
     this.listBox1 = ((System.Windows.Controls.ListBox)(this.FindName("listBox1")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.button2 = ((System.Windows.Controls.Button)(this.FindName("button2")));
 }
示例#38
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Strefa%20Kibica;component/Views/MapView.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle        = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel2    = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel2")));
     this.MapControl       = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("MapControl")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TopCarrotMobile;component/View/HereRoadPhoneControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.stkpHereRoadHeader = ((System.Windows.Controls.StackPanel)(this.FindName("stkpHereRoadHeader")));
     this.imgHereRoardCountyLogo = ((System.Windows.Controls.Image)(this.FindName("imgHereRoardCountyLogo")));
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.listBox1 = ((System.Windows.Controls.ListBox)(this.FindName("listBox1")));
     this.mapHereRoad = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapHereRoad")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BantuAnakAsuh;component/Views/PageKonsultasi.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.buttonMenu = ((System.Windows.Controls.Image)(this.FindName("buttonMenu")));
     this.map = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
     this.pushPin = ((Microsoft.Phone.Controls.Maps.Pushpin)(this.FindName("pushPin")));
     this.border = ((System.Windows.Controls.Border)(this.FindName("border")));
     this.buttonGetdirection = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("buttonGetdirection")));
     this.buttonPhone = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("buttonPhone")));
     this.buttonMail = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("buttonMail")));
     this.buttonFacebook = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("buttonFacebook")));
 }
示例#41
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/bookSharer;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.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.textBox1 = ((System.Windows.Controls.TextBox)(this.FindName("textBox1")));
     this.button2 = ((System.Windows.Controls.Button)(this.FindName("button2")));
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ReceiptStorage;component/View/Location.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle        = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.mapPlaces        = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("mapPlaces")));
     this.mapControl       = ((Microsoft.Phone.Controls.Maps.MapItemsControl)(this.FindName("mapControl")));
 }
示例#43
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NoiseMap;component/UserControls/GoogleMap.xaml", System.UriKind.Relative));
     this.LogoTemplate  = ((System.Windows.DataTemplate)(this.FindName("LogoTemplate")));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel  = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.googlemap     = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("googlemap")));
     this.street        = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.ButtonZoomIn  = ((System.Windows.Controls.Button)(this.FindName("ButtonZoomIn")));
     this.ButtonZoomOut = ((System.Windows.Controls.Button)(this.FindName("ButtonZoomOut")));
 }
示例#44
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/view;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MapView = ((System.Windows.Controls.Border)(this.FindName("MapView")));
     this.RouteBingMap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("RouteBingMap")));
     this.ButtonMyLocation = ((System.Windows.Controls.Button)(this.FindName("ButtonMyLocation")));
     this.RouteLayer = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("RouteLayer")));
     this.mapPins = ((Microsoft.Phone.Controls.Maps.MapItemsControl)(this.FindName("mapPins")));
     this.RouteView = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("RouteView")));
     this.wayName = ((System.Windows.Controls.TextBox)(this.FindName("wayName")));
     this.MainListBox = ((System.Windows.Controls.ListBox)(this.FindName("MainListBox")));
 }
示例#45
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FloK;component/FindPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.map_find         = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map_find")));
     this.btn_find_ok      = ((System.Windows.Controls.Button)(this.FindName("btn_find_ok")));
     this.tb_find_stations = ((System.Windows.Controls.TextBox)(this.FindName("tb_find_stations")));
 }
示例#46
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SeeYouTest;component/Views/MetricsView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock4")));
     this.map1       = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.button1    = ((System.Windows.Controls.Button)(this.FindName("button1")));
 }
示例#47
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Rider;component/Views/Carte.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ApplicationTitleFirst = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitleFirst")));
     this.ApplicationTitleSecond = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitleSecond")));
     this.sep = ((System.Windows.Controls.TextBlock)(this.FindName("sep")));
     this.ApplicationTitleThird = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitleThird")));
     this.MapContent = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("MapContent")));
     this.about = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("about")));
     this.parametre = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("parametre")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GPS;component/AddressPlotting.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.bingMap          = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("bingMap")));
     this.bingMapLocator   = ((Microsoft.Phone.Controls.Maps.Pushpin)(this.FindName("bingMapLocator")));
     this.locator          = ((System.Windows.Shapes.Ellipse)(this.FindName("locator")));
     this.GetAddress       = ((System.Windows.Controls.Button)(this.FindName("GetAddress")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BingMapDemo;component/MainPage.xaml", System.UriKind.Relative));
     this.BlinkLocator = ((System.Windows.Media.Animation.Storyboard)(this.FindName("BlinkLocator")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.bingMap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("bingMap")));
     this.bingMapLocator = ((Microsoft.Phone.Controls.Maps.Pushpin)(this.FindName("bingMapLocator")));
     this.locator = ((System.Windows.Shapes.Ellipse)(this.FindName("locator")));
     this.Start = ((System.Windows.Controls.Button)(this.FindName("Start")));
     this.txtStatus = ((System.Windows.Controls.TextBox)(this.FindName("txtStatus")));
 }
示例#50
0
            /**
             * Constructor
             */
            public Map()
            {
                mBingMap = new Microsoft.Phone.Controls.Maps.Map();

                mVisibleAreaUpperLeftCorner  = new System.Device.Location.GeoCoordinate();
                mVisibleAreaLowerRightCorner = new System.Device.Location.GeoCoordinate();

                mView = mBingMap;

                // occurs when the map visible area is changed (on drag/scroll)
                mBingMap.MapPan += new EventHandler <MapDragEventArgs>(
                    delegate(object from, MapDragEventArgs args)
                {
                    // update the visible area points
                    mVisibleAreaUpperLeftCorner  = mBingMap.BoundingRectangle.Northwest;
                    mVisibleAreaLowerRightCorner = mBingMap.BoundingRectangle.Southeast;

                    /**
                     * post the event to MoSync runtime
                     */
                    Memory eventData = new Memory(8);
                    const int MAWidgetEventData_eventType    = 0;
                    const int MAWidgetEventData_widgetHandle = 4;
                    eventData.WriteInt32(MAWidgetEventData_eventType, MoSync.Constants.MAW_EVENT_MAP_REGION_CHANGED);
                    eventData.WriteInt32(MAWidgetEventData_widgetHandle, mHandle);
                    mRuntime.PostCustomEvent(MoSync.Constants.EVENT_TYPE_WIDGET, eventData);
                }
                    );

                // occurs when the map zoom level is changed (on zoom in/out)
                mBingMap.MapZoom += new EventHandler <MapZoomEventArgs>(
                    delegate(object from, MapZoomEventArgs args)
                {
                    /**
                     * post the event to MoSync runtime
                     */
                    Memory eventData = new Memory(8);
                    const int MAWidgetEventData_eventType    = 0;
                    const int MAWidgetEventData_widgetHandle = 4;
                    eventData.WriteInt32(MAWidgetEventData_eventType, MoSync.Constants.MAW_EVENT_MAP_ZOOM_LEVEL_CHANGED);
                    eventData.WriteInt32(MAWidgetEventData_widgetHandle, mHandle);
                    mRuntime.PostCustomEvent(MoSync.Constants.EVENT_TYPE_WIDGET, eventData);
                }
                    );
            }
示例#51
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MyScience;component/DetailsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ProjectPivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("ProjectPivot")));
     this.DynamicPanel = ((System.Windows.Controls.StackPanel)(this.FindName("DynamicPanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.aboutgrid = ((System.Windows.Controls.Grid)(this.FindName("aboutgrid")));
     this.BackgroundTitle = ((System.Windows.Controls.TextBlock)(this.FindName("BackgroundTitle")));
     this.BackgroundContent = ((System.Windows.Controls.TextBlock)(this.FindName("BackgroundContent")));
     this.InstructionsTitle = ((System.Windows.Controls.TextBlock)(this.FindName("InstructionsTitle")));
     this.InstructionsContent = ((System.Windows.Controls.TextBlock)(this.FindName("InstructionsContent")));
     this.AuthorField = ((System.Windows.Controls.TextBlock)(this.FindName("AuthorField")));
 }
示例#52
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DatenErkundungen;component/Kopie%20von%20MapPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle        = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.stackPanel2      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel2")));
     this.myMap            = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("myMap")));
     this.stackPanel1      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.button2          = ((System.Windows.Controls.Button)(this.FindName("button2")));
     this.button1          = ((System.Windows.Controls.Button)(this.FindName("button1")));
 }
示例#53
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TakeMeThere;component/MapPage_gMap.xaml", System.UriKind.Relative));
     this.LayoutRoot                       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel                     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.MyMap                            = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("MyMap")));
     this.MapTileLayer_gMap                = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("MapTileLayer_gMap")));
     this.CurrentMark                      = ((Microsoft.Phone.Controls.Maps.Pushpin)(this.FindName("CurrentMark")));
     this.CurrentMarkRotate                = ((System.Windows.Media.RotateTransform)(this.FindName("CurrentMarkRotate")));
     this.MapItemsControl_PushPins         = ((Microsoft.Phone.Controls.Maps.MapItemsControl)(this.FindName("MapItemsControl_PushPins")));
     this.Grid_GPSStatus                   = ((System.Windows.Controls.Grid)(this.FindName("Grid_GPSStatus")));
     this.TextBlock_GPSStatus              = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_GPSStatus")));
     this.Grid_SearchBox                   = ((System.Windows.Controls.Grid)(this.FindName("Grid_SearchBox")));
     this.TextBox_SearchBox                = ((System.Windows.Controls.TextBox)(this.FindName("TextBox_SearchBox")));
     this.Grid_Search                      = ((System.Windows.Controls.Grid)(this.FindName("Grid_Search")));
     this.Grid_ZoomUp                      = ((System.Windows.Controls.Grid)(this.FindName("Grid_ZoomUp")));
     this.Grid_ZoomDown                    = ((System.Windows.Controls.Grid)(this.FindName("Grid_ZoomDown")));
     this.Grid_GoCurrentLocation           = ((System.Windows.Controls.Grid)(this.FindName("Grid_GoCurrentLocation")));
     this.Grid_GoTargetLocation            = ((System.Windows.Controls.Grid)(this.FindName("Grid_GoTargetLocation")));
     this.Grid_TargetName                  = ((System.Windows.Controls.Grid)(this.FindName("Grid_TargetName")));
     this.TextBlock_TargetName             = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_TargetName")));
     this.Grid_Info                        = ((System.Windows.Controls.Grid)(this.FindName("Grid_Info")));
     this.Grid_VisibilitySwitch            = ((System.Windows.Controls.Grid)(this.FindName("Grid_VisibilitySwitch")));
     this.Grid_LockPin                     = ((System.Windows.Controls.Grid)(this.FindName("Grid_LockPin")));
     this.TextBlock_LockPin                = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_LockPin")));
     this.Grid_Distance                    = ((System.Windows.Controls.Grid)(this.FindName("Grid_Distance")));
     this.TextBlock_Distance               = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Distance")));
     this.TextBlock_Distance_Unit          = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Distance_Unit")));
     this.Grid_EstimateTimeArrival         = ((System.Windows.Controls.Grid)(this.FindName("Grid_EstimateTimeArrival")));
     this.TextBlock_ETA_Unit               = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_ETA_Unit")));
     this.TextBlock_ETA                    = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_ETA")));
     this.TextBlock_AvgSpeed               = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_AvgSpeed")));
     this.Grid_TwoPoint_Distance           = ((System.Windows.Controls.Grid)(this.FindName("Grid_TwoPoint_Distance")));
     this.TextBlock_TwoPoint_Distance      = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_TwoPoint_Distance")));
     this.TextBlock_TwoPoint_Distance_Unit = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_TwoPoint_Distance_Unit")));
     this.Appbar_CompassButton             = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Appbar_CompassButton")));
     this.Appbar_ListButton                = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Appbar_ListButton")));
 }
示例#54
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Auto%20finder;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MaintPivot                       = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MaintPivot")));
     this.Mark                             = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("Mark")));
     this.adControl1                       = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("adControl1")));
     this.sendLocationButton               = ((System.Windows.Controls.Button)(this.FindName("sendLocationButton")));
     this.enterLocationButton              = ((System.Windows.Controls.Button)(this.FindName("enterLocationButton")));
     this.LocationEnterPanel               = ((System.Windows.Controls.StackPanel)(this.FindName("LocationEnterPanel")));
     this.enterLocationTextBox             = ((System.Windows.Controls.TextBox)(this.FindName("enterLocationTextBox")));
     this.submitLocationButton             = ((System.Windows.Controls.Button)(this.FindName("submitLocationButton")));
     this.cancelLocationBox                = ((System.Windows.Controls.Button)(this.FindName("cancelLocationBox")));
     this.Navigation                       = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("Navigation")));
     this.Triangle                         = ((System.Windows.Controls.Canvas)(this.FindName("Triangle")));
     this.map1                             = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.targetEllipse                    = ((System.Windows.Shapes.Ellipse)(this.FindName("targetEllipse")));
     this.pathLine                         = ((System.Windows.Shapes.Line)(this.FindName("pathLine")));
     this.upperMapRect                     = ((System.Windows.Shapes.Rectangle)(this.FindName("upperMapRect")));
     this.hideMapButton                    = ((System.Windows.Controls.Button)(this.FindName("hideMapButton")));
     this.showMapButton                    = ((System.Windows.Controls.Button)(this.FindName("showMapButton")));
     this.resetButton                      = ((System.Windows.Controls.Button)(this.FindName("resetButton")));
     this.distanceTextBox                  = ((System.Windows.Controls.TextBlock)(this.FindName("distanceTextBox")));
     this.bottomMapRect                    = ((System.Windows.Shapes.Rectangle)(this.FindName("bottomMapRect")));
     this.calibrationStackPanel            = ((System.Windows.Controls.StackPanel)(this.FindName("calibrationStackPanel")));
     this.calibrationTextBlock             = ((System.Windows.Controls.TextBlock)(this.FindName("calibrationTextBlock")));
     this.calibrationButton                = ((System.Windows.Controls.Button)(this.FindName("calibrationButton")));
     this.adControl2                       = ((Microsoft.Advertising.Mobile.UI.AdControl)(this.FindName("adControl2")));
     this.History                          = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("History")));
     this.FirstListBox                     = ((System.Windows.Controls.ListBox)(this.FindName("FirstListBox")));
     this.PlacemarkNameEnterPanel          = ((System.Windows.Controls.StackPanel)(this.FindName("PlacemarkNameEnterPanel")));
     this.enterPlacemarkNameTextBox        = ((System.Windows.Controls.TextBox)(this.FindName("enterPlacemarkNameTextBox")));
     this.submitPlacemarkNameButton        = ((System.Windows.Controls.Button)(this.FindName("submitPlacemarkNameButton")));
     this.cancelPlacemarkNameBox           = ((System.Windows.Controls.Button)(this.FindName("cancelPlacemarkNameBox")));
     this.LoadingPanel                     = ((System.Windows.Controls.StackPanel)(this.FindName("LoadingPanel")));
     this.performanceProgressBarCustomized = ((Microsoft.Phone.Controls.PerformanceProgressBar)(this.FindName("performanceProgressBarCustomized")));
 }
示例#55
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/mappmon;component/Tabs.xaml", System.UriKind.Relative));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel             = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.textBlock1               = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.textBlock2               = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.GetCurrentLocationButton = ((System.Windows.Controls.Button)(this.FindName("GetCurrentLocationButton")));
     this.todaybut       = ((System.Windows.Controls.RadioButton)(this.FindName("todaybut")));
     this.fivesecondsbut = ((System.Windows.Controls.RadioButton)(this.FindName("fivesecondsbut")));
     this.thirtysecsbut  = ((System.Windows.Controls.RadioButton)(this.FindName("thirtysecsbut")));
     this.oneminbut      = ((System.Windows.Controls.RadioButton)(this.FindName("oneminbut")));
     this.twominbut      = ((System.Windows.Controls.RadioButton)(this.FindName("twominbut")));
     this.map1           = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.lineLayer      = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("lineLayer")));
 }
示例#56
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HomeOnPhone;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PivotPage                = ((Microsoft.Phone.Controls.Pivot)(this.FindName("PivotPage")));
     this.recentList               = ((System.Windows.Controls.ListBox)(this.FindName("recentList")));
     this.LocationSearchTextBox    = ((System.Windows.Controls.TextBox)(this.FindName("LocationSearchTextBox")));
     this.nearbyList               = ((System.Windows.Controls.ListBox)(this.FindName("nearbyList")));
     this.LocationSearchTextBoxMap = ((System.Windows.Controls.TextBox)(this.FindName("LocationSearchTextBoxMap")));
     this.googlemap                = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("googlemap")));
     this.street       = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.wateroverlay = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("wateroverlay")));
     this.hybrid       = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("hybrid")));
     this.satellite    = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("satellite")));
     this.physical     = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("physical")));
 }
示例#57
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/findroute;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.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.map1             = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1")));
     this.calculate        = ((System.Windows.Controls.Button)(this.FindName("calculate")));
     this.fromtxtbx        = ((System.Windows.Controls.TextBox)(this.FindName("fromtxtbx")));
     this.totxtbx          = ((System.Windows.Controls.TextBox)(this.FindName("totxtbx")));
     this.textBox3         = ((System.Windows.Controls.TextBox)(this.FindName("textBox3")));
     this.textBox4         = ((System.Windows.Controls.TextBox)(this.FindName("textBox4")));
     this.button2          = ((System.Windows.Controls.Button)(this.FindName("button2")));
     this.button3          = ((System.Windows.Controls.Button)(this.FindName("button3")));
     this.view             = ((System.Windows.Controls.Button)(this.FindName("view")));
 }
示例#58
0
 public GeoRoutines(Microsoft.Phone.Controls.Maps.Map usedMap, MapLayer usedLayer)
 {
     geoMap      = usedMap;
     strokeLayer = usedLayer;
 }