private void viewIssuesButtonClicked(object sender, EventArgs e) { IssueListView issueListView = new IssueListView(userModel, issueModel, projectModel, projectMemberModel); Form form = FindForm("IssueListView"); if (form == null) { issueListView.ShowDialog(); } // issueListView.Show(); }
private void issueListToolStripButtonClicked(object sender, EventArgs e) { IssueListView issueListView = new IssueListView(userModel, issueModel, projectModel, projectMemberModel); /* issueListView.Visible = true; * if (this.Owner != null) * this.Close();*/ Form form = FindForm("IssueListView"); if (form == null) { issueListView.ShowDialog(); } }