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

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ResetScreen();
            }
        }
Ejemplo n.º 2
0
 private void btnBlacklist_Click(object sender, EventArgs e)
 {
     try
     {
         frmBlackList frm = new frmBlackList();
         frm.FIRST_NAME = txtFirstName.Text;
         frm.LAST_NAME  = txtLastName.Text;
         frm.ID_CARD    = txtIDCard.Text;
         if (frm.ShowDialog() == DialogResult.OK)
         {
             this.Close();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }