private void Recuperacion2_Load(object sender, EventArgs e) { MetodosPwd m = new MetodosPwd(); textBox1.Enabled = false; m.setData(cad, textBox1); }
private void button1_Click(object sender, EventArgs e) { MetodosPwd m = new MetodosPwd(); Recuperacion2 r = new Recuperacion2(textBox1.Text, this); if (m.BuscarUsuario(this, textBox1.Text) == false) { textBox1.Focus(); } else { r.Show(); } }
private void button1_Click(object sender, EventArgs e) { MetodosPwd m = new MetodosPwd(); m.CompararRespuesta(this, textBox1.Text, textBox2.Text); }