private void CertificateBTN_Click(object sender, EventArgs e)
{
try
{
CertificateStoreIdentifier store = new CertificateStoreIdentifier();
store.StoreType = m_certificate.StoreType;
store.StorePath = m_certificate.StorePath;
CertificateIdentifier certificate = new CertificateListDlg().ShowDialog(store, true);
if (certificate != null)
{
m_certificate = certificate;
CertificateTB.Text = m_certificate.Thumbprint;
}
}
catch (Exception exception)
{
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
}
}