Example #1
0
 private void btnChooseRevision_Click(object sender, EventArgs e)
 {
     using (var chooseForm = new FormChooseCommit(UICommands, SelectedRevision.Guid))
     {
         if (chooseForm.ShowDialog() == DialogResult.OK && chooseForm.SelectedRevision != null)
         {
             SelectedRevision = chooseForm.SelectedRevision;
         }
     }
 }
Example #2
0
 private void btnChooseFromRevision_Click(object sender, EventArgs e)
 {
     using (var chooseForm = new FormChooseCommit(UICommands, txtFrom.Text))
     {
         if (DialogResult.OK == chooseForm.ShowDialog() && null != chooseForm.SelectedRevision)
         {
             txtFrom.Text = chooseForm.SelectedRevision.Guid.Substring(0, 8);
         }
     }
 }
Example #3
0
 private void btnChooseFromRevision_Click(object sender, EventArgs e)
 {
     using(var chooseForm = new FormChooseCommit(UICommands, txtFrom.Text))
     {
         if (DialogResult.OK == chooseForm.ShowDialog() && null != chooseForm.SelectedRevision)
         {
             txtFrom.Text = chooseForm.SelectedRevision.Guid.Substring(0, 8);
         }
     }
 }
        private void btnChooseRevision_Click(object sender, EventArgs e)
        {
            using (var chooseForm = new FormChooseCommit(UICommands, Revision.Guid))
            {
                if (chooseForm.ShowDialog() == DialogResult.OK && chooseForm.SelectedRevision != null)
                {
                    Revision = chooseForm.SelectedRevision;
                }
            }

            OnRevisionChanged();
        }