private void limpiar() { TxtPass1.Clear(); TxtPass2.Clear(); TxtUsu.Clear(); CboTipo.SelectedIndex = 1; }
private void limpiar() { TxtNom.Clear(); TxtUsu.Clear(); TxtPass1.Clear(); TxtPass2.Clear(); LblId.Text = "0"; }
private void BtnAgegar_Click(object sender, EventArgs e) { if (TxtPass1.Text == TxtPass2.Text) { ingreso(); } else { MessageBox.Show("Las contraseñas no coinciden"); TxtPass2.Clear(); TxtPass1.Clear(); } }