Exemplo n.º 1
0
 void openAddContact()
 {
     if (tabControl1.SelectedIndex == 0)
     {
         using (FrmEditContact frmEditContact = new FrmEditContact())
         {
             frmEditContact.ShowDialog(this);
         }
     }
     else
     {
         using (FrmMyKeys frmMyKeys = new FrmMyKeys())
         {
             frmMyKeys.ShowDialog(this);
         }
     }
 }
Exemplo n.º 2
0
        void openCertificates()
        {
            FrmMyKeys frmCertificates = new FrmMyKeys();

            frmCertificates.ShowDialog();
        }