using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using DAL; using BLL; namespace IBRCAD { public partial class frm_recoverpassword : Form { public frm_recoverpassword() { InitializeComponent(); } private void btn_send_Click(object sender, EventArgs e) { DALLconexao conexao = new DALLconexao(DadosDaConexao.StringDeConexao); var user = new BLLlogin(conexao); var result = user.recoverPassword(txt_user.Text); lbl_result.Text = result; } } }