private void button4_Click(object sender, EventArgs e)
        {
            if (txtCollection.Text.Length == 0)
            {
                MessageBox.Show("Primero ejecute el boton de la derecha ..");
                return;
            }

            try
            {
                Services.CrearFacturasContadoRequest wCrearFacturasContadoRequest = new Fwk.Bases.Test.Services.CrearFacturasContadoRequest();

                wCrearFacturasContadoRequest.SetXml(txtCollection.Text);

                MessageBox.Show(wCrearFacturasContadoRequest.GetXml());
            }
            catch (Exception)
            {
                MessageBox.Show("Error al deserializar");
            }
        }
Beispiel #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            if (txtCollection.Text.Length == 0)
            {
                MessageBox.Show("Primero ejecute el boton de la derecha ..");
                return;
            }

            try
            {
                
                Services.CrearFacturasContadoRequest wCrearFacturasContadoRequest = new Fwk.Bases.Test.Services.CrearFacturasContadoRequest();

                wCrearFacturasContadoRequest.SetXml (txtCollection.Text);

                MessageBox.Show(wCrearFacturasContadoRequest.GetXml ());

            }
            catch (Exception )
            {
                MessageBox.Show("Error al deserializar");
            }
        }