Ejemplo n.º 1
0
 private void cmdRegister(object sender, EventArgs e)
 {
     localhost.Service1 s = new localhost.Service1();
     if (textBox1.Text == "" || textBox2.Text == "")
     {
         MessageBox.Show("Incomplete");
     }
     else
     {
         s.registerUser(textBox1.Text, textBox2.Text);
         MessageBox.Show("User has been Regisrered Successfully");
         textBox1.Text = "";
         textBox2.Text = "";
     }
 }