private void NewBindingMI_Click(object sender, EventArgs e)
{
try
{
CertificateIdentifier certificate = new CertificateIdentifier();
certificate.StoreType = m_defaultStore.StoreType;
certificate.StorePath = m_defaultStore.StorePath;
SslCertificateBinding binding = new CreateSslBindingDlg().ShowDialog(0, certificate);
if (binding != null)
{
AddRow(binding);
}
}
catch (Exception exception)
{
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
}
}