예제 #1
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")));
 }
예제 #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WP7SQLiteClient;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.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")));
 }
예제 #3
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")));
 }
예제 #4
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")));
 }
 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.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")));
 }
예제 #6
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")));
 }
예제 #7
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")));
 }