private void btnNewCorp_Click(object sender, EventArgs e)
 {
     MaintPublicCorp newCorp = new MaintPublicCorp();
     if (newCorp.ShowDialog() != DialogResult.Cancel)
     {
         _corpData = PublicCorps.GetAll();
         cmbCorp.SelectedValue = newCorp.CorpData.ID;
     }
 }
 private void ShowCorpDetail()
 {
     if (selectedCorp != null)
     {
         MaintPublicCorp corpDetail = new MaintPublicCorp(selectedCorp);
         corpDetail.ShowDialog();
         DisplayData();
     }
 }
 private void btnNewCorp_Click(object sender, EventArgs e)
 {
     MaintPublicCorp corpDetails = new MaintPublicCorp();
     corpDetails.ShowDialog();
     DisplayData();
 }