private void btnNew_Click(object sender, EventArgs e)
 {
     SLS.Static.ID = 0;
     var child = new SLS.Utilities.Application.CreditInvestigator();
     child.FormClosed += closedCI;
     child.ShowDialog();
 }
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (SLS.Static.ID != 0)
     {
         var child = new SLS.Utilities.Application.CreditInvestigator();
         child.FormClosed += closedCI;
         child.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please select data from the database.", "Error", MessageBoxButtons.OK);
     }
 }