BraintreeEncryptionExample.Settings.LoadSettings C# (CSharp) Method

LoadSettings() private method

private LoadSettings ( ) : void
return void
        private void LoadSettings()
        {
            _isolatedStorageSettings = IsolatedStorageSettings.ApplicationSettings;

            if (_isolatedStorageSettings.Contains(_merchantServerUrlKey))
            {
                MerchantServerUrl.Text = (string)_isolatedStorageSettings[_merchantServerUrlKey];
            }
            else _isolatedStorageSettings.Add(_merchantServerUrlKey, "");
        }