public DataVaultBrowserForm(IVaultFormat format, String uri) { Initialize(); DeferredVaultInitialization = () => { var fmt = format ?? VaultFormats.Default; if (uri == null) { if (!_browser.Ctx.Execute(new VaultOpenCommand(_browser.Ctx))) { DialogResult = DialogResult.Cancel; Close(); } } else { var vault = fmt.OpenCore(uri); _browser.Ctx.SetVault(vault, false); } }; }
public DataVaultBrowserForm(IVaultFormat format, String uri) { Initialize(); DeferredVaultInitialization = () => { var fmt = format ?? VaultFormats.Default; if (uri == null) { if (!_browser.Ctx.Execute(new VaultOpenCommand(_browser.Ctx))) { DialogResult = DialogResult.Cancel; Close(); } } else { var vault = fmt.OpenCore(uri); _browser.Ctx.SetVault(vault, false); } }; }
public DataVaultBrowserForm(IVaultFormat format) : this(format, null) { }
public DataVaultBrowserForm(IVaultFormat format) : this(format, null) { }