Beispiel #1
0
 /// <summary>
 /// Create new certificate
 /// </summary>
 private void OnCreateClick(object sender, EventArgs e)
 {
     using (var dialog = new CertificateWizard())
     {
         dialog.ShowDialog(this);
     }
 }
 /// <summary>
 /// Create a new certificate.
 /// </summary>
 private void OnNewCertificateClick(object sender, System.EventArgs e)
 {
     using (var dialog = new CertificateWizard())
     {
         if (dialog.ShowDialog(this) != DialogResult.OK)
         {
             return;
         }
         OpenCertificate(dialog.Path, dialog.Password);
     }
 }