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(); }
private void resetCurrentBranchToHereToolStripMenuItem_Click(object sender, EventArgs e) { if (RevisionList.Count > LastRow && LastRow >= 0) { FormResetCurrentBranch frm = new FormResetCurrentBranch((GitRevision)RevisionList[LastRow]); frm.ShowDialog(); RefreshRevisions(); } }
private void ResetCurrentBranchToHereToolStripMenuItemClick(object sender, EventArgs e) { if (Revisions.RowCount <= LastRow || LastRow < 0) return; var frm = new FormResetCurrentBranch(GetRevision(LastRow)); frm.ShowDialog(); RefreshRevisions(); }