private void voBtnTestProxy_Click(object sender, EventArgs e) { FRWCF.MyMathClient mmc = new FRWCF.MyMathClient( ); double res = mmc.ComputeAvg(5, 8, 13); MessageBox.Show("Result = " + res.ToString( )); }
private void btnWCFProxy_Click(object sender, EventArgs e) { // For each endpoint, the proxy creates a class which starts // with name of the interface (without I) followed by Client FRWCF.MyMathClient mmc = new FRWCF.MyMathClient(); double res = mmc.ComputeAvg(5, 8, 13); MessageBox.Show("Result = " + res.ToString()); }