示例#1
0
        private void ResetCurrentBranchToHereToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRow || LastRow < 0)
                return;

            var frm = new FormResetCurrentBranch(UICommands, GetRevision(LastRow));
            frm.ShowDialog(this);
            RefreshRevisions();
            OnActionOnRepositoryPerformed();
        }
示例#2
0
 private void resetCurrentBranchToHereToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (RevisionList.Count > LastRow && LastRow >= 0)
     {
         FormResetCurrentBranch frm = new FormResetCurrentBranch((GitRevision)RevisionList[LastRow]);
         frm.ShowDialog();
         RefreshRevisions();
     }
 }
示例#3
0
        private void ResetCurrentBranchToHereToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRow || LastRow < 0)
                return;

            var frm = new FormResetCurrentBranch(GetRevision(LastRow));
            frm.ShowDialog();
            RefreshRevisions();
        }