Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string uid   = textBox1.Text;
            string pid   = textBox5.Text;
            string email = textBox2.Text;

            BLL.Admin   admin = new BLL.Admin();
            Model.Admin data  = new Model.Admin(uid, pid, email);
            string      msg   = "";

            if (admin.getPassword(data, out msg))
            {
                //MessageBox.Show(msg);
            }
            MessageBox.Show(msg);
        }