private void button2_Click(object sender, EventArgs e) { this.client = new sergvm.Service1Client(); int x = Convert.ToInt32(textBox1.Text); int y = Convert.ToInt32(textBox2.Text); textBox3.Text = Convert.ToString(this.client.Min(x, y)); }
public Form1() { InitializeComponent(); this.client = new sergvm.Service1Client(); this.client.Open(); string sss = this.client.GetData(777); sergvm.CompositeType ct = new sergvm.CompositeType(); ct.BoolValue = true; ct.StringValue = "stringi"; sergvm.CompositeType rc = this.client.GetDataUsingDataContract(ct); }
private void button3_Click(object sender, EventArgs e) { this.client = new sergvm.Service1Client(); textBox3.Text = this.client.Concat(textBox1.Text, textBox2.Text); }