private void button2_Click(object sender, EventArgs e) { ServiceForwsDualClient wsDualClient = new ServiceForwsDualClient(new System.ServiceModel.InstanceContext(new DwsDualResult())); wsDualClient.GetData("哈哈"); MessageBox.Show("我是客户端,我处理完成了"); }