Exemplo n.º 1
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")));
 }
Exemplo n.º 2
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")));
 }
Exemplo n.º 3
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")));
 }
Exemplo n.º 4
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")));
 }
Exemplo n.º 5
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")));
 }
Exemplo n.º 6
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")));
 }
Exemplo n.º 7
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")));
 }
Exemplo n.º 8
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Prototype;component/SimulateTracking.xaml", System.UriKind.Relative));
     this.OK = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("OK")));
     this.Sms = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Sms")));
     this.Help = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Help")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DirectionsTitleRowDefinition = ((System.Windows.Controls.RowDefinition)(this.FindName("DirectionsTitleRowDefinition")));
     this.DirectionsRowDefinition = ((System.Windows.Controls.RowDefinition)(this.FindName("DirectionsRowDefinition")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     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.ModePanel = ((System.Windows.Controls.Grid)(this.FindName("ModePanel")));
     this.texts = ((System.Windows.Controls.StackPanel)(this.FindName("texts")));
     this.LatitudeTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("LatitudeTextBlock")));
     this.LongitudeTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("LongitudeTextBlock")));
     this.Address = ((System.Windows.Controls.TextBlock)(this.FindName("Address")));
     this.zzoom = ((Telerik.Windows.Controls.RadNumericUpDown)(this.FindName("zzoom")));
 }
Exemplo n.º 9
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")));
 }