Inheritance: GitExtensionsForm
Exemplo n.º 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();
         }
     }
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
            }
        }
Exemplo n.º 4
0
        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();
        }
Exemplo n.º 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();
     }
 }