How do I move GPS watcher to App.xaml superclass and Dispatch events to other pages/classes?
- 阅读更多 关于 How do I move GPS watcher to App.xaml superclass and Dispatch events to other pages/classes?
问题 I am new to developing for silverlight/WPF and WP7, however I am familiar with developing C# using console or windows form, so bear with me! I am trying to create a location aware app using the Silverlight SDK and the Microsoft.Maps.MapControl and the System.Device.Location classes. The problem I am having is accessing the "watcher" from other pages. What is the best way to do this. I want to put it outside of my GUI page classes so that when switching between pages, you are not checking for