Exemple #1
0
        private void btnreset_Click(object sender, EventArgs e)
        {
            bool isvalid = true;
            bool ok      = true;

            server.Service1 server = new server.Service1();
            server.SETST(txtname.Text, txtpassword.Text, out isvalid, out ok);
            if (!isvalid)
            {
                MessageBox.Show("Please enter correct info");
            }
            else
            {
                MessageBox.Show("Password has been reset");
            }
        }