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(); } } }
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(); } }
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(); }
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(); } }