public void Connect(int storedCredentialIndex, CredentialsHelper credentialsHelper, string cacheName)
        {
            CacheInteractionStartBusy(this, new CacheInteractionStartBusyEventArgs("Connecting..."));
            DataCacheFactoryConfiguration config = credentialsHelper.GetDataCacheConfiguration(storedCredentialIndex);
            DataCacheFactory fac = new DataCacheFactory(config);

            _cache = fac.GetCache(cacheName);
            CacheInteractionEndBusy(this, new CacheInteractionEndBusyEventArgs());
        }
Пример #2
0
 private void frmExplorer_Shown(object sender, EventArgs e)
 {
     _credentialsHelper = new CredentialsHelper();
     LoadCredentialsList();
     txtCacheName.Text = _credentialsHelper.Credentials.CacheName;
 }