private void CmdLogin_Click(object sender, EventArgs e) { //string usu=""; //string pass=""; string res = ""; ini.M_Login = TxtUsuario.Text; ini.M_Pass = TxtPassword.Text; // res = ini.ExisteUsr(); res = ini.ExisteUsr(); if (res == "1") { MessageBox.Show(" usuario encontrado"); } FrmInicial FormInicial = new FrmInicial(); FormInicial.Show(); this.Hide(); }