예제 #1
0
        private void UpdateRegistryViewModelFromService()
        {
            _gameRegistryKeyService.ReadKeys();

            _view.RegistryInstallValueText  = _gameRegistryKeyService.InstallValue;
            _view.RegistryLanguageValueText = _gameRegistryKeyService.LanguageValue.ToString();
            _view.RegistryPathValueText     = _gameRegistryKeyService.PathValue;
            _view.RegistryValidValueText    = _gameRegistryKeyService.ValidValue.ToString();
        }
예제 #2
0
 private string GetGameFolderFromWindowsRegistry()
 {
     _gameRegistryKeyService.ReadKeys();
     return(_gameRegistryKeyService.PathValue);
 }