Ejemplo n.º 1
0
        private void buttonX2_Click(object sender, EventArgs e)
        {
            GeneralNameFrm frm = new GeneralNameFrm();

            frm.ShowDialog();
            if (frm.GName != null)
            {
                crlacc         = frm.GName;
                textBoxX1.Text = frm.textBoxX1.Text;
            }
        }
Ejemplo n.º 2
0
 private void buttonX1_Click(object sender, EventArgs e)
 {
     try
     {
         GeneralNameFrm frm = new GeneralNameFrm(false, true);
         frm.ShowDialog();
         if (frm.GName != null)
         {
             ListViewItem it = new ListViewItem();
             it.Text = frm.comboBoxEx2.Text + ":" + frm.textBoxX1.Text;
             it.Tag  = frm.GName;
             listView2.Items.Add(it);
         }
     }
     catch (Exception ex)
     {
     }
 }
Ejemplo n.º 3
0
        private void buttonX4_Click(object sender, EventArgs e)
        {
            try
            {
                GeneralNameFrm frm = new GeneralNameFrm(true);
                frm.ShowDialog();
                if (frm.GName != null)
                {
                    ListViewItem it = new ListViewItem();
                    string       ty = "[CAIssuer] ";
                    if (frm.checkBoxX1.Checked)
                    {
                        ty = "[OCSP] ";
                    }
                    it.Text = ty + frm.comboBoxEx2.Text + ":" + frm.textBoxX1.Text;
                    it.Tag  = frm.GName;

                    listView3.Items.Add(it);
                }
            }
            catch (Exception ex)
            {
            }
        }