private void IssuesButton_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; _issuesUserControl = new IssuesUserControl(this); Window.WindowPanel.Controls.Add(_issuesUserControl); Window.WindowPanel.Controls.Remove(this); }
public void StartIssuesFromStats(int issueCode) { Cursor.Current = Cursors.WaitCursor; _issuesUserControl = new IssuesUserControl(this, issueCode); Window.WindowPanel.Controls.Add(_issuesUserControl); Window.WindowPanel.Controls.Remove(_statsUserControl); }