예제 #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);
         }
     }
 }
예제 #2
0
        void openCertificates()
        {
            FrmMyKeys frmCertificates = new FrmMyKeys();

            frmCertificates.ShowDialog();
        }