Exemplo n.º 1
0
        private void btnAceptar_Click(object sender, EventArgs e)
        {
            ServicioBancario.BancoServiceSoapClient SB =
                new ServicioBancario.BancoServiceSoapClient();

            if (SB.codigoBanco(int.Parse(txtCodigoBanco.Text)))
            {
                MessageBox.Show("El valor del codigo del banco es erroneo");
            }

            if (SB.codigoSucursal(int.Parse(txtCodigoSucursal.Text)))
            {
                MessageBox.Show("El valor del codigo de la Sucursal es erroneo");
            }

            if (SB.numeroCuenta(int.Parse(txtCuenta.Text)))
            {
                MessageBox.Show("El Numero de Cuenta es erroneo");
            }
            if (SB.contraseña(txtClave.Text))
            {
                MessageBox.Show("La clave es erronea");
            }
            txtResult.Text = SB.orden(cmtOrden.Text);
        }
Exemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     ServBan = new ServicioBancario.BancoServiceSoapClient();
     service = new Autenticar.SecurityAutSoapClient();
 }