Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            bool isvalidreset;
            bool isvalidresetpassed;

            localhost.Service1 ser = new localhost.Service1();
            ser.ValidReset(txtusername.Text, cmbquestions.Text, txtanswer.Text, out isvalidreset, out isvalidresetpassed);
            if (isvalidreset)
            {
                MessageBox.Show("Valid Data");
            }
            else
            {
                MessageBox.Show("Invalid information");
            }
        }