public void Checkout() { using (var form = new FormCheckoutRevision(UICommands)) { form.SetRevision(FullPath); form.ShowDialog(TreeViewNode.TreeView); } }
public bool Checkout() { using (var form = new FormCheckoutRevision(UICommands)) { form.SetRevision(FullPath); return(form.ShowDialog(TreeViewNode.TreeView) != DialogResult.Cancel); } }