Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            localhost.Service1 ser = new localhost.Service1();
            bool isvaliduser;
            bool isvaliduserpassed;

            ser.isValidUser(txtusername.Text, txtpassword.Text, out isvaliduser, out isvaliduserpassed);

            if (isvaliduser)
            {
                MessageBox.Show("Valid User");
            }
            else
            {
                MessageBox.Show("InValid User");
            }
        }