Exemple #1
0
        private void cmdConfirmPassword_Click(object sender, EventArgs e)
        {
            localhost.Service1 myserver = new localhost.Service1();
            bool reset;
            bool resetpassed;

            //bool reseta;
            //bool resetapassed;
            //bool resetd;
            //bool resetdpassed;
            myserver.reset(txtName.Text, txtCNIC.Text, txtPassword.Text, txtConfirmPassword.Text, out reset, out resetpassed);
            myserver.reseta(txtName.Text, txtCNIC.Text, txtPassword.Text, txtConfirmPassword.Text, out reset, out resetpassed);
            myserver.resetd(txtName.Text, txtCNIC.Text, txtPassword.Text, txtConfirmPassword.Text, out reset, out resetpassed);
            if (reset)
            {
                MessageBox.Show("password has been reset");
            }
            else
            {
                MessageBox.Show("password doesnot match");
            }
        }