private void revertCommitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (FileChanges.GetSelectedRevisions().Count == 1)
     {
         var frm = new FormRevertCommitSmall(FileChanges.GetSelectedRevisions()[0]);
         frm.ShowDialog(this);
     }
 }
 private void revertCommitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var selectedRevisions = FileChanges.GetSelectedRevisions();
     if (selectedRevisions.Count == 1)
     {
         var frm = new FormRevertCommitSmall(selectedRevisions[0]);
         frm.ShowDialog(this);
     }
 }
Beispiel #3
0
 private void revertCommitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (RevisionList.Count > LastRow && LastRow >= 0)
     {
         FormRevertCommitSmall frm = new FormRevertCommitSmall((GitRevision)RevisionList[LastRow]);
         frm.ShowDialog();
         RefreshRevisions();
     }
 }
Beispiel #4
0
        private void RevertCommitToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRow || LastRow < 0)
                return;

            var frm = new FormRevertCommitSmall(UICommands, GetRevision(LastRow));
            frm.ShowDialog(this);
            RefreshRevisions();
        }