private void btnentrar_Click(object sender, EventArgs e) { user = txtuser.Text; pass = txtpass.Text; login.BL_Access(user, pass.Trim()); ComprobarDatos(); }