Inheritance: System.Windows.Forms.Form
        private void BtnNewIssueButton_Click(object sender, EventArgs e)
        {
            NewIssueForm dlg = new NewIssueForm();

            dlg.ProjectId = projectId;
            if (dlg.ShowDialog(this) == DialogResult.OK)
            {
                BtnRefreshButton_Click(null, null);
            }
        }
 private void BtnNewIssueButton_Click(object sender, EventArgs e)
 {
     NewIssueForm dlg = new NewIssueForm();
     dlg.ProjectId = projectId;
     if (dlg.ShowDialog(this) == DialogResult.OK)
     {
         BtnRefreshButton_Click(null, null);
     }
 }