private void btn_IntermediaryECEndpoint_Click(object sender, EventArgs e)
 {
     Forms.Intermediary.IntermediarySelectorForm isf = new Forms.Intermediary.IntermediarySelectorForm(Thumbprint, SelectedCertificate, false);
     isf.State        = State;
     isf.FormClosing += SelectorFormClosing;
     Hide();
     isf.ShowDialog();
     Show();
 }
 private void button1_Click_1(object sender, EventArgs e)
 {
     Forms.Intermediary.IntermediarySelectorForm isf = new Forms.Intermediary.IntermediarySelectorForm();
     isf.SelectedCertificate = SelectedCertificate;
     isf.Thumbprint          = Thumbprint;
     isf.State        = State;
     isf.FormClosing += SelectorFormClosing;
     this.Hide();
     isf.ShowDialog();
     this.Show();
 }