private void issuesRecordToolStripMenuItem_Click(object sender, System.EventArgs e) { int issues = issueRepository.GetNextId(); FormCreateIssue form = new FormCreateIssue(issues, issueRepository, projectSelection); form.ShowDialog(); form.Dispose(); }