Opc.Ua.Configuration.ManageSslBindingsDlg.NewBindingMI_Click C# (CSharp) Method

NewBindingMI_Click() private method

private NewBindingMI_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        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);
            }
        }