private void button1_Click(object sender, EventArgs e)
 {
     var cvs = new Cvs();
     cvs.OpenLast();
     if(cvs.Opened() && cvs.Branch(textBox1.Text))
     {
         _parent.Reload();
         Close();
     }
     else
     {
         MessageBox.Show("Error");
     }
 }
Example #2
0
 public List<Branch> GetRemoteBranches()
 {
     if (_r.Remote != null)
     {
         var cvs = new Cvs();
         cvs.Open(_r.Remote);
         return cvs.GetBranches();
     }
     return new List<Branch>();
 }