示例#1
0
 public void Checkout()
 {
     using (var form = new FormCheckoutBranch(UICommands, FullPath, remote: true))
     {
         form.ShowDialog(TreeViewNode.TreeView);
     }
 }
示例#2
0
 public bool StartCheckoutBranch(IWin32Window owner, string branch, bool remote, string[] containRevisons)
 {
     return DoActionOnRepo(owner, true, true, PreCheckoutBranch, PostCheckoutBranch, () =>
     {
         using (var form = new FormCheckoutBranch(this, branch, remote, containRevisons))
             return form.DoDefaultActionOrShow(owner) != DialogResult.Cancel;
     }
     );
 }