Пример #1
0
 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);
         }
     };
 }
Пример #2
0
 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);
         }
     };
 }
Пример #3
0
 public DataVaultBrowserForm(IVaultFormat format)
     : this(format, null)
 {
 }
Пример #4
0
 public DataVaultBrowserForm(IVaultFormat format)
     : this(format, null)
 {
 }