예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     ServicioSegip.wsSEGIPSoapClient cl = new ServicioSegip.wsSEGIPSoapClient();
     ServicioSegip.Persona           p  = cl.ObtenerDatos(txtCarnet.Text);
     if (p != null)
     {
         txtNombres.Text         = p.nombres;
         txtPrimerApellido.Text  = p.primerapellido;
         txtSegundoApellido.Text = p.segundoapellido;
     }
 }
예제 #2
0
 private void label7_Click(object sender, EventArgs e)
 {
     ServicioSegip.wsSEGIPSoapClient cl  = new ServicioSegip.wsSEGIPSoapClient();
     ServicioSegip.wsSEGIPSoap       res = (ServicioSegip.wsSEGIPSoap)cl.ComprobarDatos(txtCarnet.Text, txtNombres.Text, "", "", "", "", "");
 }