public override ExecuteResult ExecuteOpen(TotalCommanderWindow window, ref string remoteName) { //adding new storage account var addStorageDialog = new AddStorageDialog(); if (addStorageDialog.ShowDialog() != DialogResult.OK) { return(ExecuteResult.OK); } var blobConfig = addStorageDialog.StorageConfigInfo; StorageAccountsConfig.AddConfig(blobConfig); //redirect to Root folder, so it reflects the newly added folder remoteName = @"\"; return(ExecuteResult.SymLink); }
public override void Delete() { StorageAccountsConfig.RemoveConfig(Name); }