Esempio n. 1
0
 public void Checkout()
 {
     using (var form = new FormCheckoutRevision(UICommands))
     {
         form.SetRevision(FullPath);
         form.ShowDialog(TreeViewNode.TreeView);
     }
 }
Esempio n. 2
0
 public bool StartCheckoutRevisionDialog(IWin32Window owner, string revision = null)
 {
     return DoActionOnRepo(owner, true, true, PreCheckoutRevision, PostCheckoutRevision, () =>
         {
             using (var form = new FormCheckoutRevision(this))
             {
                 form.SetRevision(revision);
                 return form.ShowDialog(owner) == DialogResult.OK;
             }
         }
     );
 }
Esempio n. 3
0
 public bool StartCheckoutRevisionDialog(IWin32Window owner)
 {
     return DoActionOnRepo(owner, true, true, PreCheckoutRevision, PostCheckoutRevision, () =>
         {
             using (var form = new FormCheckoutRevision(this))
                 form.ShowDialog(owner);
             return true;
         }
     );
 }