Inheritance: GitExtensionsForm
Beispiel #1
0
 private void mnuLostObjectsCreateBranch_Click(object sender, EventArgs e)
 {
     using (var frm = new FormBranchSmall {
         Revision = GetCurrentGitRevision()
     })
     {
         var dialogResult = frm.ShowDialog(this);
         if (dialogResult == DialogResult.OK)
         {
             UpdateLostObjects();
         }
     }
 }
Beispiel #2
0
 private void createNewBranchToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (RevisionList.Count > LastRow && LastRow >= 0)
     {
         FormBranchSmall frm = new FormBranchSmall();
         frm.Revision = (GitRevision)RevisionList[LastRow];
         frm.ShowDialog();
         RefreshRevisions();
         OnChangedCurrentBranch();
     }
 }
Beispiel #3
0
        private void CreateNewBranchToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRow || LastRow < 0)
                return;

            var frm = new FormBranchSmall(UICommands) { Revision = GetRevision(LastRow) };

            if (frm.ShowDialog(this) == DialogResult.OK)
            {
                RefreshRevisions();
                OnActionOnRepositoryPerformed();
            }
        }
        private void CreateNewBranchToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRow || LastRow < 0)
                return;

            var frm = new FormBranchSmall {Revision = GetRevision(LastRow)};
            frm.ShowDialog();
            RefreshRevisions();
            OnChangedCurrentBranch();
        }
Beispiel #5
0
 private void mnuLostObjectsCreateBranch_Click(object sender, EventArgs e)
 {
     using (var frm = new FormBranchSmall { Revision = GetCurrentGitRevision() })
     {
         var dialogResult = frm.ShowDialog(this);
         if (dialogResult == DialogResult.OK)
             UpdateLostObjects();
     }
 }