예제 #1
0
 private void ReadState(SaveState ss)
 {
     Read();
 }
예제 #2
0
        private async Task GoToMainMenu(string IsPassed)
        {
            if (_settingsService.Write(SelectedSet.Id.ToString(), IsPassed))
            {
                SaveState ss = new SaveState()
                {
                    IsSaved = true,
                    SetName = SelectedSet.Name
                };

                Messenger.Default.Send<SaveState, AboutViewModel>(ss);
            }

            ViewModelLocator.Cleanup();
            _navigationService.Navigate("MainPage");
        }