예제 #1
0
        private void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
        {
            ViewModel.OnStop();

            GeofenceMonitor.Current.GeofenceStateChanged -= OnGeofenceStateChanged;

            locator.PositionChanged -= LocatorPositionChanged;

            ViewModel.AlarmScreenRequired -= ViewModel_AlarmScreenRequired;
            ViewModel.AddScreenRequired -= ViewModel_AddScreenRequired;
            ViewModel.AlarmsChanged -= ViewModel_AlarmsChanged;
            ViewModel.MapZoomChanged -= ViewModel_MapZoomChanged;
        }
예제 #2
0
 void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
 {
     ViewModel.Saved -= OnSaved;
     ViewModel.PropertyChanged -= ViewModel_PropertyChanged;
 }
		private void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
		{
		}