private void button2_Click(object sender, EventArgs e) { using (ServiceReference1.GuardarClient cliente = new ServiceReference1.GuardarClient()) { cliente.guardar(Int32.Parse(textBox1.Text), textBox2.Text, textBox3.Text, textBox4.Text, Int32.Parse(textBox5.Text), textBox6.Text); } listBox1.Items.Add(textBox1.Text + ' ' + textBox2.Text + ' ' + textBox3.Text + ' ' + textBox4.Text + ' ' + Int32.Parse(textBox5.Text) + ' ' + textBox6.Text); textBox1.Text = ""; textBox2.Text = ""; textBox3.Text = ""; textBox4.Text = ""; textBox5.Text = ""; textBox6.Text = ""; }