private void button1_Click(object sender, EventArgs e) { ServiceForOneWayClient OneWayClient = new ServiceForOneWayClient(); OneWayClient.GetData(10); MessageBox.Show("调用完毕"); }