public static void ShowCertificates(CertificateStore list)
        {
            CertListForm dlg = new CertListForm();

            dlg.certificates = list;
            dlg.FillList();
            dlg.ShowDialog();
        }
 private void btnViewCertificates_Click(object sender, System.EventArgs e)
 {
     CertListForm.ShowCertificates(sMimeMessage1.Certificates);
 }